Redigera

Dela via


HotSpot.IStateManager.LoadViewState(Object) Method

Definition

Restores the HotSpot object's previously saved view state to the object.

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

Parameters

savedState
Object

An Object that contains the saved view state values for the HotSpot object to restore.

Implements

Remarks

Typically, you should use the HotSpot.LoadViewState member to restore the view state for a HotSpot object.

The IStateManager.LoadViewState member 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 restoring view state for a HotSpot object, override the LoadViewState(Object) member. The explicit interface implementation calls the LoadViewState(Object) method to restore the view state for the HotSpot object.

Applies to

See also