DictEnum.value2id(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the enumeration ID of a specified value.
public:
static int value2id(System::Object ^ _value);
public static int value2id (object _value);
static member value2id : obj -> int
Public Shared Function value2id (_value As Object) As Integer
Parameters
- _value
- Object
The value for which the enumeration ID is being queried. The value parameter can be of any type.
Returns
The enumeration ID of value if value is an enumeration; otherwise, 0 (zero).
Remarks
The value parameter can be of any type.