GenericEnumConverter(Type) Constructor

Definition

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.

Applies to