AddSemantic

<< Click to Display Table of Contents >>

 

AddSemantic

AddSemantic([Name], [Caption])

Adds a Semantic object in the collection of Command Type Semantics, returned in the Semantics property, with the name informed in the Name parameter. If the informed name already exists in that collection or if it is omitted, it is auto-incremented. Please check the general Name property for more information about the allowed characters on the names of objects. The Caption parameter informs a description for the Semantic. This parameter is optional and, if omitted, configures that description as an empty String. This method returns a Semantic object if successful.

 

NOTE

Command Types created by default, that is, the ones containing the character of an asterisk at the beginning of their names, and Step Commands do not accept adding new Semantics.

Was this page useful?