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


EditSelectionCache Class (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Editor > ESRI.ArcGIS.Editor > Classes > E > EditSelectionCache Class
ArcGIS Developer Help

EditSelectionCacheClass Class

Caches the selection for fast hit testing.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Interfaces

Interfaces Description
IEditEvents Provides access to editor events. Implement it to listen for specific events that occur during an edit session.
IEditSelectionCache Provides access to members that cache the selection for fast hit testing.
IEditSelectionCache2 Provides access to additional members that cache the selection for fast hit testing.
IEditSelectionCache3 Provides access to additional members that cache the selection for fast hit testing.

Remarks

The EditSelectionCache object creates an off-screen bitmap representing the map's selection.  The bitmap is used by clients to very quickly determine if the mouse is overtop of a selected feature.  For example, the Edit tool cursor changes when the mouse is moved over the selection.

Instantiate a new EditSelectionCache object each time you want to check whether the mouse is over the selection.