This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IC > IContextAnalyzer Interface > IContextAnalyzer.GetContextMenu Method (ArcObjects .NET 10.5 SDK) |
Returns an appropriate context menu id, if possible. Returns null if it cannot determine an applicable context menu.
[Visual Basic .NET] Public Sub GetContextMenu ( _ ByVal contextObject As Object, _ ByRef clsidMenu As UID _ )
[C#] public void GetContextMenu ( object contextObject, ref UID clsidMenu );
[C++]
HRESULT GetContextMenu(
LPUNKNOWN contextObject,
IUID** clsidMenu
);
[C++]
Parameters contextObject [in] contextObject is a parameter of type LPUNKNOWN clsidMenu [out]
clsidMenu is a parameter of type IUID