PropertyObject.GetNthSubProperty
- Updated2025-07-21
- 1 minute(s) read
PropertyObject.GetNthSubProperty
Syntax
PropertyObject.GetNthSubProperty( lookupString, index, options)
Return Value
Purpose
Returns the PropertyObject value of the property at the index specified.
Remarks
The order of subproperties in a property object can vary. National Instruments recommends using this method only when iterating on all the subproperties of the property object, or if you use the PropertyObject.GetNthSubPropertyName method or the PropertyObject.Name property to determine whether the subproperty has the name you expect.
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.
index As Long
[In] Specifies the zero-based index of the subproperty.
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.
See Also
PropertyObject.GetNthSubPropertyName
PropertyObject.GetPropertyObject
PropertyObject.GetPropertyObjectByOffset
PropertyObject.SetPropertyObject
Thread Safety of the PropertyObject API and TestStand Variables