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


IContextAnalyzer Interface (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Carto)  

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.

Members

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).

CoClasses that implement IContextAnalyzer

CoClasses and 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.