ViewPage(Of TModel).Model Property

Gets the Model property of the associated ViewDataDictionary(Of TModel) object.

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

'Declaration
Public ReadOnly Property Model As TModel
	Get
'Usage
Dim instance As ViewPage 
Dim value As TModel

value = instance.Model

Property Value

Type: TModel
A reference to the data model.

This property provides a convenient way to access the Model property of the ViewDataDictionary(Of TModel) object.

Show: