Modifier

Partager via


ConnectionsZone.SaveControlState Method

Definition

Saves any Web Parts control state changes that occurred since the last time the page was posted back to the server.

protected public:
 override System::Object ^ SaveControlState();
protected internal override object SaveControlState ();
override this.SaveControlState : unit -> obj
Protected Friend Overrides Function SaveControlState () As Object

Returns

Returns the Web Parts control's current state. If no state is associated with the control, this method returns null.

Remarks

If a ConnectionsZone control is visible in any of its modes except the mode that displays existing connections details, and if it has control state data about connection details associated with it, the SaveControlState method saves the data so that it can be persisted across round trips to the server.

Applies to

See also