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. The Caption parameter informs a description fo the Semantic. This parameter is optional and, if omitted, configures that description as an empty String. Please check the general Name property for more information about the allowed characters on the names of objects.

This method returns a Semantic object if successful.

 

NOTE

Command Types created by default (which contain the character of an asterisk at the beginning of their names) and Step Commands do not accept adding new Semantics.

Was this page useful?