PropertyObject.ValidateNewName
- Updated2024-10-09
- 1 minute(s) read
PropertyObject.ValidateNewName
Syntax
PropertyObject.ValidateNewName( newName, allowDuplicates, isValid)
Return Value
Returns an explanation of why the name is not valid.
Purpose
Determines if the specified new name is valid for the PropertyObject.
Remarks
Call this method before setting the PropertyObject.Name property to determine whether the new name is valid.
Parameters
newName As String
[In] Specifies the new name to validate.
allowDuplicates As Boolean
[In] PropertyObjects can have identical names when they are elements in an array of PropertyObjects. If the object is not an array element, pass False to this parameter.
isValid As Boolean
[Out] Returns True if the new name is valid.
See Also
PropertyObject.ValidateNewSubPropertyName
PropertyObject.ValidateNewElementName
Thread Safety of the PropertyObject API and TestStand Variables