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)

'Declaration
Public Overridable Property DataTypeName As String 
	Get 
	Set
'Usage
Dim instance As ModelMetadata 
Dim value As String 

value = instance.DataTypeName

instance.DataTypeName = value

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 Nothing.

Show: