PropertyObject.GetPropertyObject

Syntax

PropertyObject.GetPropertyObject( lookupString, options)

Return Value

PropertyObject

PropertyObject value of the property.

Purpose

Returns the PropertyObject value of the property the lookupString parameter specifies.

Parameters

lookupString As String

[In] Pass an empty string to denote the PropertyObject to which the method applies, or pass the name of a subproperty within the PropertyObject. You can also pass lookup strings to this parameter.

options As Long

[In] Pass 0 to specify the default behavior, or pass one or more PropertyOptions constants. Use the bitwise-OR operator to specify multiple options.

Example

LabWindows/CVI:     CAObjHandle limits = 0;     TS_PropertyGetPropertyObject(propObj, &errorInfo, "Step.Limits",                                  0, &limits);     CA_DiscardObjHandle(limits); Visual Basic:     Dim limits As PropertyObject     Set limits = propObj.GetPropertyObject("Step.Limits", 0) Visual C++:     TS::PropertyObjectPtr limits;     limits = propObj->GetPropertyObject("Step.Limits", TS::PropOption_NoOptions);     // Note that the limits object will be released when the     // limits variable goes out of scope or is deleted

See Also

Lookup Strings

PropertyObject

PropertyObject.GetPropertyObjectByOffset

PropertyObject.SetPropertyObject

PropertyOptions

Thread Safety of the PropertyObject API and TestStand Variables