編集

次の方法で共有


WebPartManager.LoadControlState(Object) Method

Definition

Loads control state data that was saved from a previous page request, and needs to be restored on a subsequent request.

protected public:
 override void LoadControlState(System::Object ^ savedState);
protected internal override void LoadControlState (object savedState);
override this.LoadControlState : obj -> unit
Protected Friend Overrides Sub LoadControlState (savedState As Object)

Parameters

savedState
Object

Contains the persisted state data to be loaded.

Exceptions

savedState is not a valid ControlState.

Remarks

The LoadControlState method is helpful for restoring property data that should be persisted across postbacks of a page, even when the EnableViewState property is set to false.

Applies to

See also