ModelMetadata::Model Property

Gets the value of the model.

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 value of the model. For more information about ModelMetadata, see the entry ASP.NET MVC 2 Templates, Part 2: ModelMetadata on Brad Wilson's blog

The model value can be nullptr.

Show: