Returns an instance of the specified enumeration type set to the specified value.
- enumType
- The Type of the enumeration.
- value
- The value to set.
- value
- Documentation for this section has not yet been entered.
An enumeration object of type enumType whose value is value.
Type Reason ArgumentNullException enumType is a null reference. ArgumentException enumType is not a Type that describes a Enum .
Documentation for this section has not yet been entered.
Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0