PersonalizationState.SetWebPartManagerDirty 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.
When overridden, marks the associated WebPartManager control as having changed.
public:
abstract void SetWebPartManagerDirty();
public abstract void SetWebPartManagerDirty ();
abstract member SetWebPartManagerDirty : unit -> unit
Public MustOverride Sub SetWebPartManagerDirty ()
Remarks
This is the abstract definition of the method used to indicate that the WebPartManager instance associated with the PersonalizationState instance is now considered to have changed (is "dirty").
The WebPartPersonalization class exposes a protected method (which in turn calls this method) that can be used by developers to mark the associated WebPartManager control as "dirty," thus indicating the need to reserialize and save personalization state.