|
|
|
|
|
- Properties specific to Definition variables
- Functions that use the Definition type
Definition (Variable type) In french: Définition
The Definition type gets the characteristics of the following types: - simple type,
- advanced type,
- class,
- structure,
- combination,
- enumeration.
Note: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable.
d is Definition
d = GetDefinition(x)
Trace(d.Name)
Properties Properties specific to Definition variables The following properties can be used to define the characteristics of Definition variables: | | | Property name | Type used | Effect |
---|
AssociationDefinition | Array of Definition variables | Definition of associated types. New in SaaS | 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. New in SaaS | AttributeNote | Character string | Content of the <Note> extension attribute. This property is read-only. New in SaaS | 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,
- String content 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. New in SaaS | BaseDefinition | Array of Definition variables | Definition of base types. New in SaaS | DeclarationSyntax | Syntax Description | Description of the declaration of global variables for windows, pages and reports. This property is read-only. New in SaaS | DefinitionFamily | Integer | Definition of base types. This property is read-only. | Name | Character string | Type name. This property is read-only. | Nullable | Boolean | - True if the defined type can be Null,
- False otherwise.
This property is read-only. | Option | Array of Option Description | Description of options for a combination definition. Note: This information is available for combinations defined both in the data model editor and in WLanguage. New in SaaS | Procedure | Array of Procedure Description | Class methods if the defined type is a class.The Associated property of Procedure Description variables returns False in the case of base class methods. New in SaaS | Property | Array of Property Description | Class properties if the defined type is a class.The Associated property of Property Description variables returns False in the case of base class properties. New in SaaS | Type | Integer | WLanguage type. This property is read-only. The available values are identical to those returned by TypeVar. | Value | Array of Value Description | Description of values for an enumeration definition. Note: This information is available for enumerations defined both in the data model editor and in WLanguage. New in SaaS | Variable | Array of Variable Description | Members of the class or structure if the defined type is a class or structure.The Associated property of Variable Description variables returns False in the case of base class members. New in SaaS |
Remarks Functions that use the Definition type
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|