IMenuItemCollection Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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) |
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. |