ViewPage<'TModel>.Model Property

 

Gets the Model property of the associated ViewDataDictionary<'TModel> object.

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

member Model : 'TModel with get

Property Value

Type: TModel

A reference to the data model.

This property provides a convenient way to access the Model property of the ViewDataDictionary<'TModel> object.

Return to top
Show: