Partager via


IMenuItemCollection Interface

Definition

Represents a collection of menu items that are added dynamically in the ProjectItemMenuItemsRequested event handler.

public interface class IMenuItemCollection : System::Collections::Generic::IEnumerable<Microsoft::VisualStudio::SharePoint::IMenuItem ^>
public interface IMenuItemCollection : System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.SharePoint.IMenuItem>
type IMenuItemCollection = interface
    interface seq<IMenuItem>
    interface IEnumerable
Public Interface IMenuItemCollection
Implements IEnumerable(Of IMenuItem)
Implements

Methods

Add(String, Int32)

Creates and adds a new menu item instance with the specified text and sort order.

Add(String)

Creates and adds a new menu item instance with the specified text.

Applies to