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


IFeatureCache.AddFeatures Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IF > IFeatureCache Interface > IFeatureCache.AddFeatures Method
ArcGIS Developer Help

IFeatureCache.AddFeatures Method

Fills the cache with features from the featureclass. All previously loaded features in the cache are removed.

[Visual Basic .NET]
Public Sub AddFeatures ( _
    ByVal fclass As IFeatureClass _
)
[C#]
public void AddFeatures (
    IFeatureClass fclass
);
[C++]
HRESULT AddFeatures(
  IFeatureClass* fclass
);
[C++]
Parameters
fclass [in]

fclass is a parameter of type IFeatureClass*

Product Availability

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

Remarks

Adds the features in the specified features class that fit within the envelope the cache was initialized with to the cache.

See Also

IFeatureCache Interface

.NET Samples

Buffer snap agent