ViewDataDictionary.ModelMetadata Property

 

Gets or sets information about the model.

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

Syntax

public virtual ModelMetadata ModelMetadata { get; set; }
public:
property ModelMetadata^ ModelMetadata {
    virtual ModelMetadata^ get();
    virtual void set(ModelMetadata^ value);
}
abstract ModelMetadata : ModelMetadata with get, set
override ModelMetadata : ModelMetadata with get, set
Public Overridable Property ModelMetadata As ModelMetadata

Property Value

Type: System.Web.Mvc.ModelMetadata

Information about the model.

Remarks

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

See Also

ViewDataDictionary Class
System.Web.Mvc Namespace

Return to top