<< Click to Display Table of Contents >> Navigation: ThinBASIC Modules > COM > COM_SetProperty |
Description
Sets value of property of existing instance of COM object.
Syntax
success = COM_SetProperty(pIDispatch, propertyName, numParams, params)
Returns
Success flag which can be tested using COM_Succeeded
Parameters
Name |
Type |
Optional |
Meaning |
pIDispatch |
DWORD |
No |
DWORD pointer to IDispatch COM object variable |
methodName |
String |
No |
Name of property to be set |
numParams |
Number |
No |
Number of parameters passed |
params() |
Variant |
No |
Arrays of VARIANT type representing the values |
Remarks
Restrictions
See also
Examples