次の方法で共有


CommandBar.ShowPopup Method

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

'宣言
Sub ShowPopup ( _
    x As Object, _
    y As Object _
)
void ShowPopup(
    Object x,
    Object y
)

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

See Also

Reference

CommandBar Interface

Microsoft.VisualStudio.CommandBars Namespace