This documentation is archived and is not being maintained.

IMenuItem Interface

 

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

NameDescription
System_CAPS_pubpropertyAnnotations

Gets an instance IAnnotationDictionary to associate custom data with the object implementing the IAnnotatedObject interface.(Inherited from IAnnotatedObject.)

System_CAPS_pubpropertyIsEnabled

Gets or sets whether a menu command is enabled and can be executed.

System_CAPS_pubpropertySortOrder

Gets the sort order of the menu command in the UI. Default value is 0.

System_CAPS_pubpropertyText

Gets or sets the menu command text.

NameDescription
System_CAPS_pubeventClick

Occurs when a menu command is clicked.

Return to top
Show: