Export (0) Print
Expand All

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)

abstract DataTypeName : string with get, set 
override DataTypeName : string with 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 a null reference (Nothing in Visual Basic).

© 2014 Microsoft