GetRCParameter method: RCServiceDefinition class

Syntax

GetRCParameter(nItem)

Description

Use the GetRCParameter method to return a PTCS_SRVDEFN:RCParameter object representing the nth parameter of this related content service definition.

Parameters

Parameter Description

nItem

Specifies which service URL parameter as a number value.

Returns

A PTCS_SRVDEFN:RCParameter object.

Example

import PTCS_SRVDEFN:*;

Component PTCS_SRVDEFN:RCServiceDefinition &rcServDefn;

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