Style.SaveViewState 方法

定義

保護的 (Protected) 方法。A protected method. 儲存叫用 TrackViewState() 方法之後,任何已變更的狀態。Saves any state that has been modified after the TrackViewState() method was invoked.

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

傳回

表示儲存狀態的物件。An object that represents the saved state. 預設為 nullThe default is null.

實作

適用於