共用方式為


ModelDataSourceView.SaveViewState 方法

定義

儲存自頁面回傳至伺服器以來,ModelDataSourceView 物件檢視狀態的變更。

protected:
 virtual System::Object ^ SaveViewState();
protected virtual object SaveViewState ();
abstract member SaveViewState : unit -> obj
override this.SaveViewState : unit -> obj
Protected Overridable Function SaveViewState () As Object

傳回

Object

包含 ModelDataSourceView 檢視狀態變更的物件;如果沒有任何檢視狀態與物件建立關聯,則為 null

適用於