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 Procedure Description variables
  • Call to method
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
The Procedure description type is used to get information about a class method.
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 définition de la classe type de la variable x
MaDéfinition is Definition
MaDéfinition = GetDefinition(x)

// Récupère la description de la méthode Calcul
MaProcédure is procedure Description 
MaProcédure = MaDéfinition.Procedure["Calcul"]
Properties

Properties specific to Procedure Description variables

The following properties can be used to define the characteristics of Procedure Description variables:
Property nameType usedEffect
AssociatedBoolean
  • True if the method comes from an associated class,
  • False if the meethod comes from a base class.
DeclarationDefinitionDefinition of the class that contains the method.
This property is read-only.
GlobalBoolean
  • True if the method is global,
  • False otherwise.
This property is read-only.
InheritedBoolean
  • True if the method is inherited from a base class,
  • False otherwise.
This property is read-only.
NameCharacter stringMethod name.
This property is read-only.
New in SaaS
Syntax
Array of Syntax descriptionProcedure syntax array.
Note: If the procedure code is empty, the procedure will not be described at runtime in the syntax array.
Note: This feature is only available from WINDEV Suite SaaS 2025 - Update 3.
For more details, see Using new features exclusive to WINDEV Suite SaaS 2025.
VirtualBoolean
  • True if the method is virtual,
  • False otherwise.
This property is read-only.
Remarks

Call to method

The method whose description was retrieved can be called by ExecuteProcess.
  • Call to a static method
    p is Procedure Description
    p = ...
    ExecuteProcess(Null, p, <param1>, <param2>, ...)
  • Call to a method of instance
    p is Procedure Description
    p = ...
    ExecuteProcess(<object variable>, p, <param1>, <param2>, ...)
Minimum version required
  • Version 16
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/14/2025

Send a report | Local help