PropertyObject.GetDisplayNames
- Updated2025-07-21
- 1 minute(s) read
PropertyObject.GetDisplayNames
Syntax
PropertyObject.GetDisplayNames( lookupString, options, propDisplayName, valueDisplayName)
Return Value
Void
Returns the display name for the value of the property. If there is no display name, a string representation of the actual value is returned.
Purpose
Obtains the display name, if any, of the name and value of the property the lookupString parameter specifies.
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] Reserved for future use. Pass 0 .
propDisplayName As String
[Out] Returns the display name of the property. If there is no display name, the name of the property is returned.
valueDisplayName As String
[Out] Returns the display name for the value of the property. If there is no display name, a string representation of the actual value is returned.
See Also
PropertyObject.GetFormattedValue
PropertyObject.GetValueDisplayName
Thread Safety of the PropertyObject API and TestStand Variables