public virtual void RemoveByKey (string key) { if (this.IsReadOnly) throw new NotSupportedException ("This collection is read-only"); ToolStripItem tsi = this[key]; if (tsi != null) this.Remove (tsi); return; } #endregion