This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IA > IActiveView Interface > IActiveView.GetContextMenu Method (ArcObjects .NET 10.5 SDK) |
Called when a context menu should be displayed at the given xy location. Return menu that should be displayed.
[Visual Basic .NET] Public Sub GetContextMenu ( _ ByVal x As Double, _ ByVal y As Double, _ ByRef clsidMenu As UID _ )
[C#] public void GetContextMenu ( double x, double y, ref UID clsidMenu );
[C++]
HRESULT GetContextMenu(
double x,
double y,
IUID** clsidMenu
);
[C++]
Parameters x [in] x is a parameter of type double y [in] y is a parameter of type double clsidMenu [out]
clsidMenu is a parameter of type IUID