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.
Shows a context menu that is created by MMC at the specified point.
Namespace: Microsoft.ManagementConsole
Assembly: Microsoft.ManagementConsole (in Microsoft.ManagementConsole.dll)
Syntax
public void ShowContextMenu(
Point point,
bool onResultItem
)
public:
void ShowContextMenu(
Point point,
bool onResultItem
)
member ShowContextMenu :
point:Point *
onResultItem:bool -> unit
Public Sub ShowContextMenu (
point As Point,
onResultItem As Boolean
)
Parameters
point
Type: System.Drawing.PointThe screen coordinates of the point where the context menu is to be shown.
onResultItem
Type: System.BooleanA Boolean value that is true if the point is within the bounds of a result item, false if it is in the background region of the view. The contents of the context menu are different based on the value of this parameter.
See Also
FormView
Microsoft.ManagementConsole Namespace
Return to top