ObjectGetProperty
Mon 01 January 2018Syntax
ObjectGetProperty(obj_this, str_property_name [, index_param_list])
Description
Use the ObjectGetProperty function to return the value of a property str_property_name of the object obj_this .
Note: The object must have already been instantiated, either using CreateObject or another function or method that returns an object. Default" OLE Automation object properties are not supported. You must specify the object property that you want to retrieve explicitly.
Parameters
Field or Control |
Definition |
---|---|
obj_this |
Specify an already instantiated object. This variable must have been instantiated either with CreateObject or another function or method that creates objects. |
str_property_name |
A string containing the name of an exposed property of obj_this . |
index_param_list |
A comma-separated list for accessing an OLE automation object indexed property. (These parameters are only used with OLE/COM objects.) |
Returns
Returns an Any value equal to the value of the str_property_name property of the obj_this object.