|
|
|
|
|
- Properties specific to Variable Description variables
- Operation
Variable Description (Type of variable) In french: Description de variable
The Variable Description type is used to get information about a class or structure member. Remark: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable. // Retrieves the definition of type class or structure of variable x MyDefinition is Définition MyDefinition = GetDefinition(x) // Retrieves the description of nValue member of class or structure m is Variable Description m = MyDefinition.Variable["nValue"] Remarks Properties specific to Variable Description variables The following properties can be used to handle Variable Description variables: | | | Property name | Type used | Effect |
---|
Associated | Boolean | - True if the variable comes from an associated element,
- False if the variable comes from a base element.
This property is read-only. | AttributeMapping | Character string | - Value of the <Mapping> extension attribute for a class or structure,
- "" (empty string) if the attribute is not specified (or for other types).
This property is read-only. | AttributeNote | Character string | - Value of the <Note> extension attribute for a class or structure, or for their members.
- "" (empty string) if the attribute is not specified (or for other types).
This property is read-only. | AttributeSerialize | Character string | Serialization name of the type according to its name and the <Serialize> attribute: - Name of the class, if the attribute is not specified,
- Content of the string if the attribute contains a string,
- "" (empty string) if the attribute is set to False or if the type is not a class.
This property is read-only. | AttributeUniqueKey | Boolean | - True if the <Unique key> attribute is specified,
- False otherwise.
This property is read-only. | Declaration | Definition | Definition of the class or structure that declares the member. This property is read-only. | Definition | Definition | Definition of member type. This property is read-only. | Global | Boolean | - True if the member is global,
- False otherwise.
This property is read-only. | Inherited | Boolean | - True if the member is inherited from a base class,
- False otherwise.
This property is read-only. | Name | Character string | Member name. This property is read-only. | Shadowed | Boolean | - True if the member is shadowed by a member of a derived class,
- False otherwise.
This property is read-only. |
Operation The described member can be handled via indirection:: - {<object>, <Variable Description>}
- {<object>, <Variable Description>} = ...
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|