PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
BuildAutomationVariant (Function)
In French: ConstruitVariantAutomation
Builds an Automation variant parameter. This parameter can be used during the call to a method of an Automation object that requires a specific Automation variant.
Example
oObject is object Automation "AutomationObject"
arrArray is array of 5 ints
// Forces the array to be passed by an Automation variant
// rather than directly
oObject>>MyMethod(BuildAutomationVariant(arrArray))
Syntax
<Result> = BuildAutomationVariant(<Parameter to Convert>)
<Result>: Automation Variant
Value of the parameter converted into Automation variant. This result must be passed directly to a method of an Automation object. This result cannot be stored in a WLanguage variable.
<Parameter to Convert>: Any type
WLanguage element to convert into automation variant (constant, variable, ...). This element is converted in an Automation variant. This automation variant contains the Automation equivalent of the WLanguage element.
Components
WINDEVReports and Queries wd230vm.dll
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment