Note: This page includes content based on the F1 documentation for Centura development. It may be partially converted to support APF development, but should be regarded to be of uncertain actuality. It is provided as is. Eventually, it should be replaced by documentation available from within Visual Studio.
SalNumber GetAttributes(SalString sName, SalArray<SalString> sValues)
The GetAttributes method gets all values of an existing attribute in a message.
Name | Description |
---|---|
SalString sName | Name of the attribute to get values for. This name should always be in uppercase. |
SalArray<SalString> sValues | Array containing the values for all occurrences of sName in the message. |
The return value is the number of values found.
GetAttributes should be used when there are multiple occurrences of the same attribute in a message. If only the first occurrence is of interest, the GetAttribute method should be used.