IStateManager.LoadViewState Method

Parameter::IStateManager::LoadViewState Method (Object^)

.NET Framework (current version)

This API supports the product infrastructure and is not intended to be used directly from your code.

Restores the data source view's previously saved view state.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

virtual void LoadViewState(
	Object^ savedState
) sealed = IStateManager::LoadViewState


Type: System::Object^

An Object that represents the Parameter state to restore.

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

This method is used primarily by control developers. You can override this method to control how a custom server control restores its view state.

.NET Framework
Available since 2.0
Return to top
© 2016 Microsoft