Gets a list of supported values for the specified property on the current object. Typically only values in this list will be shown in a GUI (can think of this as visible values). ValidValues should be a subset of this (only the values in ValidValues will be selectable even though other values can be shown). This is typically used for enumeration types of properties. Supported values usually are ones where the current license options, hardware, or hardware channel configuration support them even though they might not be currently selectable (there is some state that will enable them).
Syntax
Parameters
- propertyName
- Name of the property to get supported values for.
Type Parameters
- T
- Type for the supported values (normally the same as the type of the corresponding property they are for).
Return Value
Array of supported values. May return null or an empty array for non-enumeration types of properties or if all enumeration values are supported.
Remarks
Requirements
Target Platforms: Windows 11 Professional or Enterprise; Windows 10 Professional, Enterprise, or Education (64-bit)
See Also