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


IFeatureIndex2.Index Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Carto)  

IFeatureIndex2.Index Method

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

Product Availability

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

Description

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.

See Also

IFeatureIndex2 Interface