PropertyObject.SetSubPropertyIndex
- Updated2024-10-09
- 1 minute(s) read
PropertyObject.SetSubPropertyIndex
Syntax
PropertyObject.SetSubPropertyIndex( lookupString, options, propName, index)
Purpose
Sets the index of the subproperty the propName parameter specifies.
Remarks
Use this method to change the order of subproperties.
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.
propName As String
[In] Specifies the name of the subproperty for which to set the index.
index As Long
[In] Specifies the new index for the subproperty. The value must be greater than or equal to 0 and less than the number of subproperties.
See Also
PropertyObject.GetNumSubProperties
PropertyObject.GetSubPropertyIndex
Thread Safety of the PropertyObject API and TestStand Variables