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


IFeatureIndex2 Interface (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
ArcGIS Developer Help

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

Name 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.

Classes that implement IFeatureIndex2

Classes Description
FeatureIndex A feature class index.