PersonalizationState::SetDirty Method ()

 

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
Show: