ArcObjects Library Reference (Carto)  

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 _
)
[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

Product Availability

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

See Also

IContextAnalyzer Interface