ModelMetadata.Model Property

 

Gets the value of the model.

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

public object Model { get; set; }

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 null.

Return to top
Show: