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

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

IFeatureIndex2.Index Method

Creates index.

[Visual Basic .NET]
Public Sub Index ( _
    ByVal pTrackCancel As ITrackCancel, _
    ByVal pQueryingGeometryFullExtent As IEnvelope _
public void Index (
    ITrackCancel pTrackCancel,
    IEnvelope pQueryingGeometryFullExtent
  ITrackCancel* pTrackCancel,
  IEnvelope* pQueryingGeometryFullExtent
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.


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