Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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)
Syntax
'Declaration
Public Interface IMenuItemCollection _
Inherits IEnumerable(Of IMenuItem), IEnumerable
public interface IMenuItemCollection : IEnumerable<IMenuItem>,
IEnumerable
The IMenuItemCollection type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
![]() |
Add(String) | Creates and adds a new menu item instance with the specified text. |
![]() |
Add(String, Int32) | Creates and adds a new menu item instance with the specified text and sort order. |
![]() |
GetEnumerator | Returns an enumerator that iterates through the collection. (Inherited from IEnumerable<IMenuItem>.) |
Top
.gif)