Visual Basic
C#
Managed Extensions for C++
C++/CLI
Parameters
- capability
- A capability who's value can be represented by an enumeration capability container.
- enumValue
- Value of the specified capability cast as a System.Int32.
Return Value
A string that describes the specified value of the specified capability.When the specified capability is represented by an enumeration capability containter, this method can be used to get a description of any of the enumeration values.
For example, if capability is ICAP_DUPLEX, then this method can be use to get a description of any of the enumeration values for the values in the ImGearDuplex enumeration: NONE, ONEPASSDUPLEX, TWOPASSDUPLEX.
For example:
GetCapabilityValueDescription(ICAP_DUPLEX, ImGearDuplex.ONEPASSDUPLEX)returns "One Pass".
This can be used for filling a listbox or combobox with descriptions of available values instead of just the constants.