GenericEnumConverter Constructor (Type)

 

Initializes a new instance of the GenericEnumConverter class.

Namespace:   System.Configuration
Assembly:  System.Configuration (in System.Configuration.dll)

public GenericEnumConverter(
	Type typeEnum
)

Parameters

typeEnum
Type: System.Type

The enumeration type to convert.

Exception Condition
ArgumentNullException

typeEnum is null.

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.

.NET Framework
Available since 2.0
Return to top
Show: