ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Standard functions / Reflection functions
  • Properties specific to Property Description variables
  • Operation
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
The Property Description type is used to get information about a property of a class.
Note: 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 description de la classe type de la variable x
MaDescription is Definition
MaDescription = GetDefinition(x)
// Récupère la description de la propriété Prop de la classe
p is Property Description 
p = MaDescription.Property["Prop"]
Properties

Properties specific to 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.
Remarks

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: 09/20/2024

Send a report | Local help