ViewDataDictionary.ModelMetadata Property

Gets or sets information about the model.

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

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

value = instance.ModelMetadata

instance.ModelMetadata = value

Property Value

Type: System.Web.Mvc.ModelMetadata
Information about the model.

This property contains information such as the model type, data type, description, display format, and display name.

Show: