WebViewPage<TModel>.SetViewData Method

Sets the view data.

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

Syntax

'Declaration
Protected Overrides Sub SetViewData ( _
    viewData As ViewDataDictionary _
)
'Usage
Dim viewData As ViewDataDictionary

Me.SetViewData(viewData)
protected override void SetViewData(
    ViewDataDictionary viewData
)
protected:
virtual void SetViewData(
    ViewDataDictionary^ viewData
) override
protected override function SetViewData(
    viewData : ViewDataDictionary
)

Parameters

See Also

Reference

WebViewPage<TModel> Class

System.Web.Mvc Namespace