This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IF > IFeatureIndex2 Interface > IFeatureIndex2.Index Method (ArcObjects .NET 10.4 SDK) |
Creates index.
[Visual Basic .NET] Public Sub Index ( _ ByVal pTrackCancel As ITrackCancel, _ ByVal pQueryingGeometryFullExtent As IEnvelope _ )
[C#] public void Index ( ITrackCancel pTrackCancel, IEnvelope pQueryingGeometryFullExtent );
[C++]
HRESULT Index(
ITrackCancel* pTrackCancel,
IEnvelope* pQueryingGeometryFullExtent
);
[C++]
Parameters pTrackCancel [in]
pTrackCancel is a parameter of type ITrackCancel pQueryingGeometryFullExtent [in]
pQueryingGeometryFullExtent is a parameter of type IEnvelope
Actuallly queries the database for the features in the FeatureClass (or optionally the FeatureCursor) and creates a spatial index in memory of the resulting features.