Freigeben über


ModelMetadata.DataTypeName Property

Gets or sets meta information about the data type.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

Syntax

'Declaration
Public Overridable Property DataTypeName As String
    Get
    Set
public virtual string DataTypeName { get; set; }
public:
virtual property String^ DataTypeName {
    String^ get ();
    void set (String^ value);
}

Property Value

Type: System.String
Meta information about the data type.

Remarks

Values for this property can include type names such as "EmailAddress", "Html", "Password", and "Url". The default value is null reference (Nothing in Visual Basic).

See Also

Reference

ModelMetadata Class

System.Web.Mvc Namespace