ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Reflection functions
  • Properties specific to the description of Property 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 Property Description type is used to get information about a property of a class.
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 description of type class of variable x
MyDescription is Definition
MyDescription = GetDefinition(x)
// Retrieves the description of Prop property of the class
p is Property Description
p = MyDescription.Property["Prop"]
Remarks

Properties specific to the description of Property Description variables

The following properties can be used to handle Property Description variables:
Property nameType usedEffect
AssociatedBoolean
  • True if the property comes from an associated class,
  • False if the property comes from a base class.
This property is read-only.
DeclarationDefinitionDefinition of the type that declares the property.
This property is read-only.
DefinitionDefinitionDefinition of property type.
This property is read-only.
GlobalBoolean
  • True if the property is global,
  • False otherwise.
This property is read-only.
InheritedBoolean
  • True if the property is inherited from a base class,
  • False otherwise.
This property is read-only.
NameCharacter stringProperty name.
For the native types of WLanguage, the name is returned in the language of the framework used (French or English).
This property is read-only.
PlayingBoolean
  • True if the property is accessible in read mode,
  • False otherwise.
This property is read-only.
VirtualBoolean
  • True if the property is virtual,
  • False otherwise.
This property is read-only.
WriteBoolean
  • True if the property is accessible in write mode,
  • False otherwise.
    This property is read-only.

Operation

The described property can be used via the indirection:
  • {<object>, <Property Description>}
  • {<object>, <Property Description>} = ...
Minimum version required
  • Version 16
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 08/22/2022

Send a report | Local help