PropertyObject.SetNthSubPropertyName

Syntax

PropertyObject.SetNthSubPropertyName( lookupString, index, options, newValue)

Purpose

Sets the name of a subproperty within the property the lookupString parameter specifies. You identify the property using a zero-based index.

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 to name.

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.

newValue As String

[In] Specifies the new name for the subproperty.

See Also

Lookup Strings

PropertyObject.GetNthSubPropertyName

PropertyObject.GetNumSubProperties

PropertyObject.GetSubPropertyIndex

PropertyOptions

Thread Safety of the PropertyObject API and TestStand Variables