IContextMenuController.ShowContextMenu Method
Namespace: Microsoft.Internal.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'Declaration
Function ShowContextMenu ( _
items As IEnumerable(Of Object), _
location As Point _
) As Boolean
bool ShowContextMenu(
IEnumerable<Object> items,
Point location
)
bool ShowContextMenu(
IEnumerable<Object^>^ items,
Point location
)
abstract ShowContextMenu :
items:IEnumerable<Object> *
location:Point -> bool
function ShowContextMenu(
items : IEnumerable<Object>,
location : Point
) : boolean
Parameters
- items
Type: System.Collections.Generic.IEnumerable<Object>
- location
Type: System.Windows.Point
Return Value
Type: System.Boolean
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.