ssCore.ActiveX.getProperty

Retrieve the value of a named property of an ActiveX object.


Availability:

First available in version 3.3 build 120.


Input Parameters:

object - The name of the ActiveX object used in the call to createObject.

property - The name of the propety to retrieve.


Output Parameters:

result - Returns the value of the named property.


Asynchronous Mode:

When this method is called asynchronously, a return object containing the output parameters is passed to the specified callback function.

ssCore.ActiveX.getProperty( paramsObject [, callbackParamsObject] [, errorParamsObject] );


Synchronous Mode:

When this method is called synchronously, a return object containing the output parameters is returned to the caller immediately.

var returnObject = ssCore.ActiveX.getProperty( paramsObject );


Notes:

None.


Examples:

var return_obj = ssCore.ActiveX.getProperty({object:"MyBrowser", property:"LocationURL"});
ssDebug.trace(return_obj.result);