Method SetDirty SetDirty() Sets the dirty state and serialize. Declaration public virtual void SetDirty()