CachedDataAnnotationsMetadataAttributes.DataType Property
Gets the data type.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
'Declaration
Public Property DataType As DataTypeAttribute
Get
Protected Set
'Usage
Dim instance As CachedDataAnnotationsMetadataAttributes
Dim value As DataTypeAttribute
value = instance.DataType
instance.DataType = value
public DataTypeAttribute DataType { get; protected set; }
public:
property DataTypeAttribute^ DataType {
DataTypeAttribute^ get ();
protected: void set (DataTypeAttribute^ value);
}
member DataType : DataTypeAttribute with get, set
function get DataType () : DataTypeAttribute
protected function set DataType (value : DataTypeAttribute)
Property Value
Type: System.ComponentModel.DataAnnotations.DataTypeAttribute
The data type.