ViewPage<TModel>.SetViewData(ViewDataDictionary) ViewPage<TModel>.SetViewData(ViewDataDictionary) ViewPage<TModel>.SetViewData(ViewDataDictionary) Method

Definition

Sets the view data dictionary for the associated view.

protected override void SetViewData (System.Web.Mvc.ViewDataDictionary viewData);
override this.SetViewData : System.Web.Mvc.ViewDataDictionary -> unit
Protected Overrides Sub SetViewData (viewData As ViewDataDictionary)

Parameters

viewData
ViewDataDictionary ViewDataDictionary ViewDataDictionary

A dictionary of data to pass to the view.

Applies to