Edit

Kongsi melalui


HotSpot.IStateManager.SaveViewState Method

Definition

Saves the changes to the HotSpot object's view state since the last time the page was posted back to the server.

 virtual System::Object ^ System.Web.UI.IStateManager.SaveViewState() = System::Web::UI::IStateManager::SaveViewState;
object IStateManager.SaveViewState ();
abstract member System.Web.UI.IStateManager.SaveViewState : unit -> obj
override this.System.Web.UI.IStateManager.SaveViewState : unit -> obj
Function SaveViewState () As Object Implements IStateManager.SaveViewState

Returns

The Object that contains the changes to the HotSpot object's view state.

Implements

Remarks

Typically, you should use the HotSpot.SaveViewState method to save the view state for the HotSpot region.

The IStateManager.SaveViewState method is an explicit interface member implementation. It can be used only when a HotSpot instance is cast to an IStateManager interface.

Notes to Inheritors

To define a custom implementation for tracking view state for a HotSpot object, override the SaveViewState() member. The explicit interface implementation calls the SaveViewState() method to save view-state changes for the object.

Applies to

See also