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


IFeatureCache2 Interface (ArcObjects .NET 10.6 SDK)
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IF > IFeatureCache2 Interface (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Carto)  

IFeatureCache2 Interface

Provides access to members that control a cache of features in memory for a particular spatial extent.

Product Availability

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

Members

Name Description
Method AddFeatures Fills the cache with features from the featureclass. Clip envelope may be null.
Method AddLayers Fills the cache with the features from the specified layers. Clip envelope may be null.
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 IFeatureCache2

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