ViewDataDictionary(Of TModel) Constructor (TModel)

Initializes a new instance of the ViewDataDictionary(Of TModel) class by using the specified model.

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

'Declaration
Public Sub New ( _
	model As TModel _
)
'Usage
Dim model As TModel

Dim instance As New ViewDataDictionary(model)

Parameters

model
Type: TModel

The data model to use for the view.

Show: