ModelMetadata.DataTypeName Property

Visual Studio 2010

Gets or sets meta information about the data type.

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

public virtual string DataTypeName { get; set; }

Property Value

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

Values for this property can include type names such as "EmailAddress", "Html", "Password", and "Url". The default value is null.

Community Additions

ADD
Show: