Partager via


ViewPage.Model Property

Gets the Model property of the associated ViewDataDictionary object.

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

Syntax

'Declaration
Public ReadOnly Property Model As Object
    Get
public Object Model { get; }
public:
property Object^ Model {
    Object^ get ();
}

Property Value

Type: System.Object
The Model property of the associated ViewDataDictionary object.

See Also

Reference

ViewPage Class

System.Web.Mvc Namespace