PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
  • Properties specific to the description of 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
// Retrieves the definition of type class or structure of variable x
MyDefinition is Definition
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 the description of Variable Description variables

The following properties can be used to handle Variable Description variables:
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 stringContent of the <Note> extension attribute.
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 specified,
  • 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.
Name Character 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