ViewDataDictionary::Model Property

 

Gets or sets the model that is associated with the view data.

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

public:
property Object^ Model {
	Object^ get();
	void set(Object^ value);
}

Property Value

Type: System::Object^

The model that is associated with the view data.

This property is set in order to support strongly-typed views.

Return to top
Show: