PropertyObject.ValidateNewSubPropertyName
- Updated2024-10-09
- 1 minute(s) read
PropertyObject.ValidateNewSubPropertyName
Syntax
PropertyObject.ValidateNewSubPropertyName( newName, allowDuplicates, isValid)
Return Value
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.ValidateNewName
PropertyObject.ValidateNewElementName
Thread Safety of the PropertyObject API and TestStand Variables