|
|
|
|
- Properties specific to Definition variables
- Functions that handle the Definition type
Definition (Type of variable) In french: Définition
The Definition type is used to find out the characteristics of a type: - simple type,
- advanced type,
- class,
- structure,
- combination,
- enumeration.
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 x type d is Définition d = GetDefinition(x) // Displays the name of x type Trace(d.Name)
Remarks Properties specific to Definition variables The following properties can be used to handle a Definition variable: | | | Property name | Type used | Effect |
---|
AssociationDefinition | Array of Definition variables | Definition of associated types. | New in version 28AttributeMapping | 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. | New in version 28AttributeNote | Character string | Content of the <Note> extension attribute. This property is read-only. | New in version 28AttributeSerialize | 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. | BaseDefinition | Array of Definition variables | Definition of base types. | New in version 28DeclarationSyntax | Syntax Description | Description of the declaration of global variables for windows, pages and reports. This property is read-only. | DefinitionFamily | Integer | Definition of base types. This property is accessible in read-only. | Name | Character string | Name of type. This property is accessible in read-only. | Option | Array of Option Description | Description of options for a definition of combination. Remark: Information available for the combinations defined in the data model editor and for the combinations defined in WLanguage. | Procedure | Array of Procedure Description | Methods of class if the defined type is a class.The Associated property of Procedure Description variables returns False in the case of base class methods. | Property | Array of Property Description | Properties of class if the defined type is a class.The Associated property of Property Description variables returns False in the case of base class properties. | Type | Integer | WLanguage type. This property is accessible in read-only mode. The available values are identical to the ones returned by TypeVar. | Value | Array of Value description | Description of values for a definition of enumeration. Remark: Information available for the enumerations defined in the data model editor and for the enumerations defined in WLanguage. | Variable | Array of Variable Description | Members of class or structure if the defined type is a class or a structure.The Associated property of Variable Description variables returns False in the case of base class members. |
Functions that handle the Definition type
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|