ModelMetadata.Model Property

Gets the value of the model.

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

function get Model () : Object 
function set Model (value : Object)

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 a null reference (Nothing in Visual Basic).

Show: