This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IF > IFeatureCache2 Interface > IFeatureCache2.AddLayers Method (ArcObjects .NET 10.4 SDK) |
Fills the cache with the features from the specified layers. Clip envelope may be null.
[Visual Basic .NET] Public Sub AddLayers ( _ ByVal Layers As IEnumLayer, _ ByVal Clip As IEnvelope _ )
[C#] public void AddLayers ( IEnumLayer Layers, IEnvelope Clip );
[C++]
HRESULT AddLayers(
IEnumLayer* Layers,
IEnvelope* Clip
);
[C++]
Parameters Layers [in]
Layers is a parameter of type IEnumLayer Clip [in]
Clip is a parameter of type IEnvelope
Adds the features in the specified layers 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.