Share via


WebViewPage<TModel>.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 TModel
'Usage
Dim instance As WebViewPage
Dim value As TModel

value = instance.Model
public TModel Model { get; }
public:
property TModel Model {
    TModel get ();
}
function get Model () : TModel

Property Value

Type: TModel
The Model property of the associated ViewDataDictionary object.

See Also

Reference

WebViewPage<TModel> Class

System.Web.Mvc Namespace