Breyta

Deila með


StateBag.IStateManager.LoadViewState(Object) Method

Definition

Restores the previously saved view state of the StateBag object.

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

Parameters

state
Object

An object that represents the StateBag state to restore.

Implements

Remarks

This method restores view-state information for the StateBag object from a previous page request that was saved by the IStateManager.SaveViewState method.

This method is primarily used by control developers. You can override this method to control how a custom server control restores its view state. For more information, see ASP.NET State Management Overview.

Applies to

See also