共用方式為


WebViewPage.SetViewData(ViewDataDictionary) 方法

定義

設定檢視資料。

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)

參數

viewData
ViewDataDictionary

檢視資料。

適用於