This document is archived and information here might be outdated.  Recommended version.

IContextAnalyzer.GetContextMenu Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IC > IContextAnalyzer Interface > IContextAnalyzer.GetContextMenu Method
ArcGIS Developer Help

IContextAnalyzer.GetContextMenu Method

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 _
public void GetContextMenu (
    object contextObject,
    ref UID clsidMenu
HRESULT GetContextMenu(
  LPUNKNOWN contextObject,
  IUID** clsidMenu
contextObject [in]

contextObject is a parameter of type IUnknown clsidMenu [out]
clsidMenu is a parameter of type IUID**

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IContextAnalyzer Interface