편집

다음을 통해 공유


PersonalizationState.SetWebPartDirty(WebPart) Method

Definition

When overridden, marks a Web Parts control as having changed.

public:
 abstract void SetWebPartDirty(System::Web::UI::WebControls::WebParts::WebPart ^ webPart);
public abstract void SetWebPartDirty (System.Web.UI.WebControls.WebParts.WebPart webPart);
abstract member SetWebPartDirty : System.Web.UI.WebControls.WebParts.WebPart -> unit
Public MustOverride Sub SetWebPartDirty (webPart As WebPart)

Parameters

webPart
WebPart

The Web Parts control to be marked as having changed.

Remarks

This is an abstract definition of the method used to indicate that a Web Parts control has changed (is "dirty"). The WebPart class exposes methods (which in turn call this method) that can be used by developers to mark a Web Parts control as "dirty," thus indicating the need to reserialize and save personalization state.

Applies to