GenericEnumConverter(Type) Konstruktor

Definice

Inicializuje novou instanci GenericEnumConverter třídy.

public:
 GenericEnumConverter(Type ^ typeEnum);
public GenericEnumConverter(Type typeEnum);
new System.Configuration.GenericEnumConverter : Type -> System.Configuration.GenericEnumConverter
Public Sub New (typeEnum As Type)

Parametry

typeEnum
Type

Typ výčtu, který chcete převést.

Výjimky

typeEnum je null.

Poznámky

Obvykle používáte typy převaděčů poskytované systémem. Jediný čas, kdy potřebujete použít GenericEnumConverter konstruktor, je vytvoření vlastního typu převodu.

Platí pro