Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ModelMetadata Property

ViewDataDictionary.ModelMetadata Property


Gets or sets information about the model.

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

public virtual ModelMetadata ModelMetadata { get; set; }

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.

Return to top
© 2015 Microsoft