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


IFeatureCache Interface (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Carto)  

IFeatureCache Interface

Provides access to members that control a cache of features in memory for a particular spatial extent. Note: the IFeatureCache interface has been superseded byIFeatureCache2. Please consider using the more recent version.

Product Availability

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

Members

Description
Method AddFeatures Fills the cache with features from the featureclass. All previously loaded features in the cache are removed.
Method Contains Returns true if the point is contained in the cache.
Read-only property Count The number of features in the cache.
Read-only property Feature The nth feature.
Method Initialize Initializes the cache with a given size and location.

CoClasses that implement IFeatureCache

CoClasses and Classes Description
FeatureCache A cache of features in memory for a particular spatial extent.

.NET Samples

Buffer snap agent (Code Files: BufferSnap)