PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
This content has been translated automatically. Click here to view the French version.
  • Properties specific to the description of Procedure Description variables
  • Call to method
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 Procedure description type is used to get information about a class method.
Remark: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable.
Versions 18 and later
iPhone/iPad This type of variable is now available for iPhone/iPad applications.
Universal Windows 10 App This type of variable is now available in Windows Store apps mode.
New in version 18
iPhone/iPad This type of variable is now available for iPhone/iPad applications.
Universal Windows 10 App This type of variable is now available in Windows Store apps mode.
iPhone/iPad This type of variable is now available for iPhone/iPad applications.
Universal Windows 10 App This type of variable is now available in Windows Store apps mode.
Versions 21 and later
Universal Windows 10 App This type of variable is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This type of variable is now available in Universal Windows 10 App mode.
Universal Windows 10 App This type of variable is now available in Universal Windows 10 App mode.
Example
// Récupère la définition de la classe type de la variable x
MaDéfinition is Définition
MaDéfinition = GetDefinition(x)
 
// Récupère la description de la méthode Calcul
MaProcédure is procédure Description
MaProcédure = MaDéfinition.Procédure["Calcul"]
Remarks

Properties specific to the description of Procedure Description variables

The following properties can be used to handle a Procedure Description variable:
Property nameType usedEffect
Versions 22 and later
Associated
New in version 22
Associated
Associated
Boolean
  • 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 available in read-only mode.
GlobalBoolean
  • True if the method is global,
  • False otherwise.
This property is available in read-only mode.
InheritedBoolean
  • True if the method is inherited from a base class,
  • False otherwise.
This property is available in read-only mode.
NameCharacter stringMethod name.
This property is available in read-only mode.
VirtualBoolean
  • True if the method is virtual,
  • False otherwise.
This property is available in read-only mode.

Call to method

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