PropertyObject.ValidateNewSubPropertyName

Syntax

PropertyObject.ValidateNewSubPropertyName( newName, allowDuplicates, isValid)

Return Value

String

Returns an explanation of why the name is not valid.

Purpose

Determines if the specified name is valid for a new subproperty of the PropertyObject.

Remarks

Call this method before adding a new subproperty to determine whether the name of the new subproperty is valid.

Parameters

newName As String

[In] Specifies the new name to validate.

allowDuplicates As Boolean

[In] Typically, you pass False to this parameter because subproperties cannot have identical names.

isValid As Boolean

[Out] Returns True if the new name is valid.

See Also

PropertyObject.Name

PropertyObject.ValidateNewName

PropertyObject.ValidateNewElementName

Thread Safety of the PropertyObject API and TestStand Variables

TypeUsageList.ValidateNewTypeName