ControlGetProperty Method
The property to get.
The arguments passed to the property get. Zero or more arguments, passed as a comma-delimited list of values. Pass parameters only of data types that can be stored in a Variant.
Returns a property of a control that is not thread-safe.
Remarks
If the InvokeRequired Property of a Control in a Windows Form is true, it is bound to a specific thread. Use this method to get a property of such a control.

For more information, see the MSDN documentation for System.Windows.Control.InvokeRequired.

For a Custom Server running in the UFT context, pass only serialized types. If one of the objects in the list is not serialized, ControlGetProperty fails.

Syntax
'Declaration
 
Protected Function ControlGetProperty( _
   ByVal sProperty As System.String, _
   ByVal ParamArray list() As System.Object _
) As System.Object
protected System.object ControlGetProperty( 
   System.string sProperty,
   params System.object[] list
)

Parameters

sProperty
The property to get.
list
The arguments passed to the property get. Zero or more arguments, passed as a comma-delimited list of values. Pass parameters only of data types that can be stored in a Variant.

Return Value

The object returned by the property-get.