GetAttribute

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.

SalString GetAttribute( SalString sName )

The GetAttribute gets the value of an existing attribute in a message.

Parameters

Name Description
SalString sName Name of the attribute to get value for. This name should always be in uppercase.

Returns

The return value is the value of the attribute, or strNULL if the attribute did not exist in the message.

Comments

GetAttribute requires the attribute to exist, or an error message will be displayed.

To retrieve attribute values without requiring the attribute to exist in the message, applications should use the FindAttribute method.