GetRCParamCount method: RCServiceDefinition class

Syntax

GetRCParamCount()

Description

Use the GetRCParamCount method to return the number of service URL parameters defined for this related content service definition.

Parameters

None.

Returns

A number value.

Example

import PTCS_SRVDEFN:*;

Component PTCS_SRVDEFN:RCServiceDefinition &rcServDefn;

&rcServDefn = create PTCS_SRVDEFN:RCServiceDefinition("SERVICE_DEFN", "ENG");
Local number &rcParamCount = &rcServDefn.GetRCParamCount();
If (&rcParamCount > 0) Then
   /* do some processing */
End-If;