PropertyObject.GetSubPropertyIndex

Syntax

PropertyObject.GetSubPropertyIndex( lookupString, options, propName)

Return Value

Long

The subproperty index is zero-based.

Purpose

Returns the index of the subproperty the propName parameter specifies.

Parameters

lookupString As String

[In] Pass the name of a property within the PropertyObject that contains a subproperty. Refer to Lookup Strings for more information.

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.

propName As String

[In] Specifies the name of the subproperty to obtain the index for.

See Also

Lookup Strings

PropertyObject.GetNthSubPropertyName

PropertyObject.GetNumSubProperties

PropertyObject.SetSubPropertyIndex

PropertyOptions

Thread Safety of the PropertyObject API and TestStand Variables