ViewPage.SetViewData(ViewDataDictionary) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
A dictionary of data to pass to the view.