WebPartManager.LoadCustomPersonalizationState Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Stores the custom personalization data that has been passed to the WebPartManager control by the personalization objects to be used later during the initialization process.
protected:
virtual void LoadCustomPersonalizationState(System::Web::UI::WebControls::WebParts::PersonalizationDictionary ^ state);
protected virtual void LoadCustomPersonalizationState (System.Web.UI.WebControls.WebParts.PersonalizationDictionary state);
abstract member LoadCustomPersonalizationState : System.Web.UI.WebControls.WebParts.PersonalizationDictionary -> unit
override this.LoadCustomPersonalizationState : System.Web.UI.WebControls.WebParts.PersonalizationDictionary -> unit
Protected Overridable Sub LoadCustomPersonalizationState (state As PersonalizationDictionary)
Parameters
A PersonalizationDictionary that contains the state data to be loaded.
Remarks
The LoadCustomPersonalizationState method provides saved state data in the form of a PersonalizationDictionary object. This data is eventually used to load personalization data into the Web Parts controls and to perform other initialization tasks.
Note
This method is called by a sequence of methods that begins when the TrackViewState method initially requests the associated WebPartPersonalization object to supply personalization data to the WebPartManager control.
You cannot call this method directly from your code. You can, however, directly call the IPersonalizable.Load method, which itself calls the LoadCustomPersonalizationState method and returns the personalization data.
Notes to Inheritors
Developers can override the LoadCustomPersonalizationState(PersonalizationDictionary) method in a derived WebPartManager class.
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om