ViewDataDictionary<TModel>::ModelMetadata Property

 

Gets or sets information about the model.

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

public:
property ModelMetadata^ ModelMetadata {
	virtual ModelMetadata^ get() override;
	virtual void set(ModelMetadata^ value) override;
}

Property Value

Type: System.Web.Mvc::ModelMetadata^

Information about the model.

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

Return to top
Show: