DataTypeAttribute Constructor
.NET Framework (current version)
Initializes a new instance of the DataTypeAttribute class.
Assembly: System.ComponentModel.DataAnnotations (in System.ComponentModel.DataAnnotations.dll)
| Name | Description | |
|---|---|---|
![]() | DataTypeAttribute(DataType) | Initializes a new instance of the DataTypeAttribute class by using the specified type name. |
![]() | DataTypeAttribute(String) | Initializes a new instance of the DataTypeAttribute class by using the specified field template name. |
Show:
