Share via


WebPage.Model Property

Gets the model that is associated with a page.

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

Syntax

'Declaration
Public ReadOnly Property Model As Object 
    Get
'Usage
Dim instance As WebPage 
Dim value As Object 

value = instance.Model
public Object Model { get; }
public:
property Object^ Model {
    Object^ get ();
}
member Model : Object
function get Model () : Object

Property Value

Type: System.Object
An object that represents a model that is associated with the view data for a page.

See Also

Reference

WebPage Class

System.Web.WebPages Namespace