Düzenle

Aracılığıyla paylaş


PersonalizationState.SetWebPartManagerDirty Method

Definition

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.

Applies to