ModelMetadata.Model Property

Gets the value of the model.

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

Syntax

'Declaration
Public Property Model As Object
    Get
    Set
public Object Model { get; set; }
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

Remarks

The model value can be null reference (Nothing in Visual Basic).

See Also

Reference

ModelMetadata Class

System.Web.Mvc Namespace