System.Windows.Forms.CommandBarItemCollection.RemoveAt C# (CSharp) Method

RemoveAt() public method

public RemoveAt ( int index ) : void
index int
return void
        public void RemoveAt(int index)
        {
            CommandBarItem item = (CommandBarItem) this.items[index];
            items.RemoveAt(index);

            if (this.commandBar != null)
            {
                this.commandBar.RemoveItem(item);
            }
        }