Gets a list of names to use in the display for enumeration types of properties. This allows for the names to be different from the field name of the enumeration type and for the name to value mapping to be dynamic.
Syntax
Parameters
- propertyName
- Name of the property to get the display names for.
- enumValues
- A list of the enum values.
- displayNames
- A list of the enum display names to use. The length of this array must be the same as the enumValues list and in order such that each element in the array maps to value at the same index in the enumValues list.
Requirements
Target Platforms: Windows 11 Professional or Enterprise; Windows 10 Professional, Enterprise, or Education (64-bit)
See Also