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


IFeatureIndex2 Interface (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Carto)  

IFeatureIndex2 Interface

Provides access to members that control the creation of an index on a feature class.

Product Availability

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

Description

Used on FeatureIndex object to build a spatial index for a group of features.  Corresponding methods on IIndexQuery can then access this infomation.

It is important to set the OutputSpatialReference if the FeatureClass being passed in has a different spatial reference than that of the input shape on the IIndexQuery methods

Members

Description
Write-only property FeatureClass FeatureClass to index.
Write-only property FeatureCursor Cursor on feature class, to reduce the number of feature indexed (optional).
Method Index Creates index.
Read/write property OutputSpatialReference The spatial reference in which to output geometry for a given field.

CoClasses that implement IFeatureIndex2

CoClasses and Classes Description
FeatureIndex A feature class index.