Menu.MenuItemCollection Members

Represents a collection of MenuItem objects.

The following tables list the members exposed by the Menu.MenuItemCollection type.

  Name Description
Public method Menu.MenuItemCollection Initializes a new instance of the Menu.MenuItemCollection class.
Top

  Name Description
Public property Supported by the .NET Compact Framework Count Gets a value indicating the total number of MenuItem objects in the collection.
Public property Supported by the .NET Compact Framework IsReadOnly Gets a value indicating whether the collection is read-only.
Public property Supported by the .NET Compact Framework Item Overloaded. Gets an item from the collection.
Top

(see also Protected Methods )
  Name Description
Public method Supported by the .NET Compact Framework Add Overloaded. Adds a new MenuItem to the collection.
Public method AddRange Adds an array of previously created MenuItem objects to the collection.
Public method Supported by the .NET Compact Framework Clear Removes all MenuItem objects from the menu item collection.
Public method Supported by the .NET Compact Framework Contains Determines if the specified MenuItem is a member of the collection.
Public method ContainsKey Determines whether the collection contains an item with the specified key.
Public method Supported by the .NET Compact Framework CopyTo Copies the entire collection into an existing array at a specified location within the array.
Public method Supported by the .NET Compact Framework Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method Find Finds the items with the specified key, optionally searching the submenu items
Public method Supported by the .NET Compact Framework GetEnumerator Returns an enumerator that can be used to iterate through the menu item collection.
Public method Supported by the .NET Compact Framework GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method Supported by the .NET Compact Framework GetType  Gets the Type of the current instance. (inherited from Object)
Public method Supported by the .NET Compact Framework IndexOf Retrieves the index of a specific item in the collection.
Public method IndexOfKey Finds the index of the first occurrence of a menu item with the specified key.
Public method Static Supported by the .NET Compact Framework ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method Supported by the .NET Compact Framework Remove Removes the specified MenuItem from the menu item collection.
Public method Supported by the .NET Compact Framework RemoveAt Removes a MenuItem from the menu item collection at a specified index.
Public method RemoveByKey Removes the menu item with the specified key from the collection.
Public method Supported by the .NET Compact Framework ToString  Returns a String that represents the current Object. (inherited from Object)
Top

  Name Description
Protected method Supported by the .NET Compact Framework Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Protected method Supported by the .NET Compact Framework MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)
Top

Community Additions

ADD
Show: