EnumDataTypeAttribute(Type) Constructor

Definition

Initializes a new instance of the EnumDataTypeAttribute class.

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

Parameters

enumType
Type

The type of the enumeration.

Applies to