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


EditSelectionCache CoClass (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Editor)  

EditSelectionCache CoClass

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.