DataPagerField.SaveViewState 方法

定義

儲存 DataPagerField 物件的檢視狀態變更。Saves the changes that were made to the DataPagerField object's view state.

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

傳回

控制項的檢視狀態變更。The view-state changes for the control.

實作

備註

如果沒有與物件相關聯的檢視狀態, 則SaveViewState null方法會傳回。If there is no view state associated with the object, the SaveViewState method returns null.

SaveViewState方法主要由控制項開發人員使用。The SaveViewState method is primarily used by control developers.

適用於

另請參閱