IMenuItem Interface

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

Represents a menu item that can be added to a context menu for ISharePointProjectItem or IExplorerNode.

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

public interface IMenuItem : IAnnotatedObject

The IMenuItem type exposes the following members.

  NameDescription
Public propertyAnnotationsGets an instance IAnnotationDictionary to associate custom data with the object implementing the IAnnotatedObject interface. (Inherited from IAnnotatedObject.)
Public propertyIsEnabledGets or sets whether a menu command is enabled and can be executed.
Public propertySortOrderGets the sort order of the menu command in the UI. Default value is 0.
Public propertyTextGets or sets the menu command text.
Top

  NameDescription
Public eventClickOccurs when a menu command is clicked.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft