WebPartManager.IPersonalizable.Save(PersonalizationDictionary) WebPartManager.IPersonalizable.Save(PersonalizationDictionary) WebPartManager.IPersonalizable.Save(PersonalizationDictionary) Method

Definition

Saves custom personalization state data that is managed by the WebPartManager control.

 virtual void System.Web.UI.WebControls.WebParts.IPersonalizable.Save(System::Web::UI::WebControls::WebParts::PersonalizationDictionary ^ state) = System::Web::UI::WebControls::WebParts::IPersonalizable::Save;
void IPersonalizable.Save (System.Web.UI.WebControls.WebParts.PersonalizationDictionary state);
Sub Save (state As PersonalizationDictionary) Implements IPersonalizable.Save

Parameters

Implements

Remarks

The IPersonalizable.Save method is an implementation of the IPersonalizable.Save method, which provides a way for the Web Parts control set to directly access the protected WebPartManager.SaveCustomPersonalizationState method. When this method is called, it saves all personalized data that is managed by the WebPartManager control to the permanent data store configured for a Web Parts application.

Note

In most cases, page and control developer code does not need to call this method, because it is primarily used by the Web Parts control set as its mechanism for saving personalization data.

Notes to Inheritors

One scenario in which developers would work with this method is if they are developing a custom personalization framework to use in place of the one provided by the Web Parts control set. In such cases, developers could inherit from the WebPartManager class and override the CreatePersonalization() method to return a custom implementation of a WebPartPersonalization object. The custom WebPartPersonalization object would call the implementation of the IPersonalizable.Save(PersonalizationDictionary) method at the proper time to save the custom personalization data.

Applies to

See also