IMenuItemCollection Interface

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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

Namespace:  Microsoft.VisualStudio.SharePoint
Assembly:  Microsoft.VisualStudio.SharePoint (in Microsoft.VisualStudio.SharePoint.dll)

public interface IMenuItemCollection : IEnumerable<IMenuItem>, 
	IEnumerable

The IMenuItemCollection type exposes the following members.

  NameDescription
Public methodAdd(String)Creates and adds a new menu item instance with the specified text.
Public methodAdd(String, Int32)Creates and adds a new menu item instance with the specified text and sort order.
Public methodGetEnumeratorReturns an enumerator that iterates through the collection. (Inherited from IEnumerable<IMenuItem>.)
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft