GetNumberOfAttributes method: IBInfo class
Syntax
GetNumberOfAttributes()
Description
Use this method to get the number of attributes for the IBInfo object as an integer.
Note:
This method can be used for content-based routing only, typically in your implementation of the IRouter.OnRouteSend or IRouter.OnRouteReceive methods.
Parameters
None.
Returns
An integer representing the number of attributes for the IBInfo object.
Example
For &i = 1 To &MSG.IBInfo.GetNumberOfAttributes()
&AttrName = &MSG.IBInfo.GetAttributeName(&i);
&AttrValue = &MSG.IBInfo.GetAttributeValue(&i);
End-For;