Method FreezeFreeze()Prevents changes in the current object. Declaration protected virtual void Freeze()