Share via


ContextMenuController.ShowContextMenu Method (IContextMenuPattern, Point)

Namespace:  Microsoft.Internal.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'Declaration
Public Shared Function ShowContextMenu ( _
    item As IContextMenuPattern, _
    location As Point _
) As Boolean
public static bool ShowContextMenu(
    IContextMenuPattern item,
    Point location
)
public:
static bool ShowContextMenu(
    IContextMenuPattern^ item, 
    Point location
)
static member ShowContextMenu : 
        item:IContextMenuPattern * 
        location:Point -> bool
public static function ShowContextMenu(
    item : IContextMenuPattern, 
    location : Point
) : boolean

Parameters

Return Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

ContextMenuController Class

ShowContextMenu Overload

Microsoft.Internal.VisualStudio.PlatformUI Namespace