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

IContextAnalyzer Interface (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
ArcGIS Developer Help

IContextAnalyzer Interface

Provides access to members used to determine the correct context menu id for a given context object.

Product Availability

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


Name Description
Method GetContextMenu Returns an appropriate context menu id, if possible. Returns null if it cannot determine an applicable context menu.
Read/write property Priority Priority for the context analyzer: 0 (highest) - 99 (lowest).

Classes that implement IContextAnalyzer

Classes Description
BasemapSubLayerRasterLayerContextAnalyzer (esriArcMapUI) A coclass for Basemap Sub Layer which is a RasterLayer context analyzer.
GroupLayerContextAnalyzer (esriArcMapUI) Group Layer Context Analyzer.
ImageServerLayerContextAnalyzer (esriArcMapUI) A coclass for ImageServerLayer context analyzer.
IMSSubLayerContextAnalyzer (esriArcMapUI) IMS SubLayer Context Analyzer.
MapViewCommandsContextAnalyzer (esriArcMapUI) Map View Commands Context Analyzer.
RasterBasemapLayerContextAnalyzer (esriArcMapUI) A coclass for Raster Basemap Layer context analyzer.
RasterLayerContextAnalyzer (esriArcMapUI) A coclass for RasterLayer context analyzer.