Export (0) Print
Expand All

ToolStripItemCollection Methods

The ToolStripItemCollection type exposes the following members.

  Name Description
Public method Add(Image) Adds a ToolStripItem that displays the specified image to the collection.
Public method Add(String) Adds a ToolStripItem that displays the specified text to the collection.
Public method Add(ToolStripItem) Adds the specified item to the end of the collection.
Public method Add(String, Image) Adds a ToolStripItem that displays the specified image and text to the collection.
Public method Add(String, Image, EventHandler) Adds a ToolStripItem that displays the specified image and text to the collection and that raises the Click event.
Public method AddRange(ToolStripItem[]) Adds an array of ToolStripItem controls to the collection.
Public method AddRange(ToolStripItemCollection) Adds a ToolStripItemCollection to the current collection.
Public method Clear Removes all items from the collection.
Public method Contains Determines whether the specified item is a member of the collection.
Public method ContainsKey Determines whether the collection contains an item with the specified key.
Public method CopyTo(Array, Int32) Copies the entire contents of this collection to a compatible one-dimensional Array, starting at the specified index of the target array. (Inherited from ArrangedElementCollection.)
Public method CopyTo(ToolStripItem[], Int32) Copies the collection into the specified position of the specified ToolStripItem array.
Public method Equals Determines whether two ArrangedElementCollection instances are equal. (Inherited from ArrangedElementCollection.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method Find Searches for items by their name and returns an array of all matching controls.
Public method GetEnumerator Returns an enumerator for the entire collection. (Inherited from ArrangedElementCollection.)
Public method GetHashCode Returns the hash code for this instance. (Inherited from ArrangedElementCollection.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method IndexOf Retrieves the index of the specified item in the collection.
Public method IndexOfKey Retrieves the index of the first occurrence of the specified item within the collection.
Public method Insert Inserts the specified item into the collection at the specified index.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Remove Removes the specified item from the collection.
Public method RemoveAt Removes an item from the specified index in the collection.
Public method RemoveByKey Removes the item that has the specified key.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top

  Name Description
Public Extension Method AsParallel() Overloaded. Enables parallelization of a query. (Defined by ParallelEnumerable.)
Public Extension Method AsParallel() Overloaded. (Defined by ParallelEnumerable.)
Public Extension Method AsQueryable() Overloaded. Converts an IEnumerable to an IQueryable. (Defined by Queryable.)
Public Extension Method AsQueryable() Overloaded. (Defined by Queryable.)
Public Extension Method Cast<TResult>() Overloaded. Casts the elements of an IEnumerable to the specified type. (Defined by Enumerable.)
Public Extension Method Cast<TResult>() Overloaded. (Defined by Enumerable.)
Public Extension Method OfType<TResult>() Overloaded. Filters the elements of an IEnumerable based on a specified type. (Defined by Enumerable.)
Public Extension Method OfType<TResult>() Overloaded. (Defined by Enumerable.)
Top

  Name Description
Explicit interface implemetation Private method IList.Add Adds an item to the collection.
Explicit interface implemetation Private method IList.Clear Removes all items from the collection.
Explicit interface implemetation Private method IList.Contains Determines if the collection contains a specified item.
Explicit interface implemetation Private method IList.IndexOf Determines the location of a specified item in the collection.
Explicit interface implemetation Private method IList.Insert Inserts an item into the collection at a specified index.
Explicit interface implemetation Private method IList.Remove Removes the first occurrence of a specified item from the collection.
Explicit interface implemetation Private method IList.RemoveAt Removes an item from the collection at a specified index.
Top
Show:
© 2014 Microsoft