Interfejs IMenuItemCollection
Reprezentuje kolekcję elementów menu, które są dodawane dynamicznie w ProjectItemMenuItemsRequested programu obsługi zdarzeń.
Przestrzeń nazw: Microsoft.VisualStudio.SharePoint
Zestaw: Microsoft.VisualStudio.SharePoint (w Microsoft.VisualStudio.SharePoint.dll)
Składnia
'Deklaracja
Public Interface IMenuItemCollection _
Inherits IEnumerable(Of IMenuItem), IEnumerable
public interface IMenuItemCollection : IEnumerable<IMenuItem>,
IEnumerable
Typ IMenuItemCollection uwidacznia następujące elementy członkowskie.
Metody
Nazwa | Opis | |
---|---|---|
![]() |
Add(String) | Tworzy i dodaje nowe wystąpienie elementu menu z określonego tekstu. |
![]() |
Add(String, Int32) | Tworzy i dodaje nowe wystąpienie elementu menu z podanego tekstu i porządek sortowania. |
![]() |
GetEnumerator | Returns an enumerator that iterates through the collection. (Odziedziczone z IEnumerable<IMenuItem>). |
Początek