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)

public:
virtual property String^ DataTypeName {
	String^ get ();
	void set (String^ 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 nullptr.

Show: