PersonalizationState.SetDirty Method ()


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Marks the current personalization state as having changed.

Namespace:   System.Web.UI.WebControls.WebParts
Assembly:  System.Web (in System.Web.dll)

protected void SetDirty()

Classes that inherit from PersonalizationState can use this method to mark themselves as having changed (or being "dirty"), thus indicating the need to reserialize and save personalization state.

.NET Framework
Available since 2.0
Return to top