RemoveAttribute

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.

SalBoolean RemoveAttribute( SalString sName )

The RemoveAttribute removes an attribute from a message.

Parameters

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

Returns

The return value is true if the attribute where found and removed, false otherwise.

Comments

RemoveAttribute does not require the attribute to exist in the message. If the attribute does not exist, the return value is false.

Example

Msg.RemoveAttribute("START_WINDOW");