Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Displays the command bar as a shortcut menu at the specified coordinates or at the current mouse coordinates.
Namespace: Microsoft.VisualStudio.CommandBars
Assembly: Microsoft.VisualStudio.CommandBars (in Microsoft.VisualStudio.CommandBars.dll)
Syntax
'Declaration
Sub ShowPopup ( _
x As Object, _
y As Object _
)
void ShowPopup(
Object x,
Object y
)
void ShowPopup(
[InAttribute] Object^ x,
[InAttribute] Object^ y
)
abstract ShowPopup :
x:Object *
y:Object -> unit
function ShowPopup(
x : Object,
y : Object
)
Parameters
- x
Type: System.Object
An integer representing the x coordinate of the location of the popup; if omitted, the current x coordinate of the mouse is used.
- y
Type: System.Object
An integer representing the y coordinate of the location of the popup; if omitted, the current y coordinate of the mouse is used.
.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.