EnumDataTypeAttribute(Type) 建構函式

定義

初始化 EnumDataTypeAttribute 類別的新執行個體。

public:
 EnumDataTypeAttribute(Type ^ enumType);
public EnumDataTypeAttribute(Type enumType);
new System.ComponentModel.DataAnnotations.EnumDataTypeAttribute : Type -> System.ComponentModel.DataAnnotations.EnumDataTypeAttribute
Public Sub New (enumType As Type)

參數

enumType
Type

枚舉的類型。

適用於