/// <summary>
 /// Clears this instance.
 /// </summary>
 public void Clear()
 {
     lock (this)
     {
         Properties.Clear();
         Captions.Clear();
         Captions.Capacity = 0;
     }
 }