ICallHierarchyToolWindowUI.AllowContextMenuAtLocation Method
Determines whether a shortcut menu is allowed at the given location.
Namespace: Microsoft.VisualStudio.Language.CallHierarchy
Assembly: Microsoft.VisualStudio.Language.CallHierarchy (in Microsoft.VisualStudio.Language.CallHierarchy.dll)
Syntax
'Declaration
Function AllowContextMenuAtLocation ( _
location As Point _
) As Boolean
bool AllowContextMenuAtLocation(
Point location
)
bool AllowContextMenuAtLocation(
Point location
)
abstract AllowContextMenuAtLocation :
location:Point -> bool
function AllowContextMenuAtLocation(
location : Point
) : boolean
Parameters
location
Type: PointThe location to test.
Return Value
Type: Boolean
true if a shortcut menu is allowed at the given location; otherwise, false.
.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.