ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
  • Properties specific to Variable Description variables
  • Operation
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
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.
Example
// Récupère la définition de la classe ou de la structure type de la variable x
MaDéfinition is Définition
MaDéfinition = GetDefinition(x)
// Récupère la description du membre nValeur de la classe ou de la structure
m is Variable Description
m = MaDéfinition.Variable["nValeur"]
Remarks

Properties specific to Variable Description variables

The following properties can be used for handle a variable of type description of Variable:
Property nameType usedEffect
AssociatedBoolean
  • True if the variable comes from an associated element,
  • False if the variable comes from a base element.
This property is read-only.
New in version 28
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 version 28
AttributeNote
Character string
  • Value of the extension <note> 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.
New in version 28
AttributeSerialize
Character stringSerialization 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.
New in version 28
AttributeUniqueKey
Boolean
  • True if the <Unique Key> attribute is present,
  • False otherwise.
This property is read-only.
DeclarationDefinitionDefinition of the class or structure that declares the member.
This property is read-only.
DefinitionDefinitionDefinition of member type.
This property is read-only.
GlobalBoolean
  • True if the member is global,
  • False otherwise.
This property is read-only.
InheritedBoolean
  • True if the member is inherited from a base class,
  • False otherwise.
This property is read-only.
nomCharacter stringMember name.
This property is read-only.
ShadowedBoolean
  • 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>} = ...
Minimum version required
  • Version 16
This page is also available for…
Comments
Click [Add] to post a comment