Bewerken

Share via


DataTypeAttribute.DataType Property

Definition

Gets the type that is associated with the data field.

public:
 property System::ComponentModel::DataAnnotations::DataType DataType { System::ComponentModel::DataAnnotations::DataType get(); };
public System.ComponentModel.DataAnnotations.DataType DataType { get; }
member this.DataType : System.ComponentModel.DataAnnotations.DataType
Public ReadOnly Property DataType As DataType

Property Value

One of the DataType values.

Applies to