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


IFeatureCache2.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 > IFeatureCache2 Interface > IFeatureCache2.AddFeatures Method
ArcGIS Developer Help

IFeatureCache2.AddFeatures Method

Fills the cache with features from the featureclass. Clip envelope may be null.

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

fclass is a parameter of type IFeatureClass* Clip [in]
Clip is a parameter of type IEnvelope*

Product Availability

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

Remarks

Adds the features in the specified features class to the cache.  Only features that fit within the intersection of the clip envelope and the cache's internal envelope (specified during initialization) will be added.

See Also

IFeatureCache2 Interface