NetXP 3.0 Reference

CommandBarItemCollection Methods

The methods of the CommandBarItemCollection class are listed below. For a complete list of CommandBarItemCollection class members, see the CommandBarItemCollection Members topic.

Public Instance Methods

Add Adds an item to the collection.
AddRange Adds a set of items to the collection.
Clear (inherited from CollectionBase)Removes all objects from the CollectionBase instance.
Contains Checks if the collection contains a certain item.
CopyTo Copies this collection's items into an array.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetEnumerator (inherited from CollectionBase)Returns an enumerator that can iterate through the CollectionBase instance.
GetHashCode (inherited from Object)Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object)Gets the Type of the current instance.
IndexOf Gets the index of an item.
Insert Inserts an item at a specified index.
MoveDown Moves an item down the list.
MoveUp Moves an item up the list.
RaiseChanged Raises a Changed event.
Remove Removes an item.
RemoveAt Removes an item at a specified index.
ToString (inherited from Object)Returns a String that represents the current Object.

Explicit Interface Implementations

ICollection.CopyTo (inherited from CollectionBase) 
IList.Add (inherited from CollectionBase) 
IList.Contains (inherited from CollectionBase) 
IList.IndexOf (inherited from CollectionBase) 
IList.Insert (inherited from CollectionBase) 
IList.Remove (inherited from CollectionBase) 

See Also

CommandBarItemCollection Class | NETXP.Controls.Bars Namespace