ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Windows functions / Miscellaneous WINDEV functions
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
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.
Component: wd290vm.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help