GenericEnumConverter(Type) Constructor
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.
Initializes a new instance of the GenericEnumConverter class.
public:
GenericEnumConverter(Type ^ typeEnum);
public GenericEnumConverter (Type typeEnum);
new System.Configuration.GenericEnumConverter : Type -> System.Configuration.GenericEnumConverter
Public Sub New (typeEnum As Type)
Parameters
- typeEnum
- Type
The enumeration type to convert.
Exceptions
typeEnum
is null
.
Remarks
Normally, you use the converter types provided by the system. The only time you need to use the GenericEnumConverter constructor is when you create your own conversion type.