ViewPage.SetViewData(ViewDataDictionary) ViewPage.SetViewData(ViewDataDictionary) ViewPage.SetViewData(ViewDataDictionary) Method

Definition

Sets the view data dictionary for the associated view.

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

Parameters

viewData
ViewDataDictionary ViewDataDictionary ViewDataDictionary

A dictionary of data to pass to the view.

Applies to