Script functions reference > Script functions in alphabetical order > C > COMSetProperty

COMSetProperty
Syntax
COMSetProperty(strObjHandl, strPropertyName, VarList);
strObjHandl
strPropertyName
VarList
Description
Sets the specified property for the COM component associated with the specified handle. The COMSetProperty function can take several variables as arguments. All the variables must be defined in StreamServe scripts. Explicit values, or return values from other functions can not be passed directly to the COMSetProperty function.
Returns
A number indicating whether the property was successfully set.
0
num<0
Example
iRetVal=COMSetProperty("objTest", "Long", $longval);
OpenText StreamServe 5.6 Updated: 2013-03-01