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


IFeatureClassSpatialIndex.RecreateSpatialIndex Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IF > IFeatureClassSpatialIndex Interface > IFeatureClassSpatialIndex.RecreateSpatialIndex Method
ArcGIS Developer Help

IFeatureClassSpatialIndex.RecreateSpatialIndex Method

Creates or recreates a spatial index for a feature class.

[Visual Basic .NET]
Public Sub RecreateSpatialIndex ( _
    ByVal bIndexName As String, _
    ByVal gridSize1 As Double, _
    ByVal gridSize2 As Double, _
    ByVal gridSize3 As Double _
)
[C#]
public void RecreateSpatialIndex (
    string bIndexName,
    double gridSize1,
    double gridSize2,
    double gridSize3
);
[C++]
HRESULT RecreateSpatialIndex(
  BSTR bIndexName,
  double gridSize1,
  double gridSize2,
  double gridSize3
);
[C++]
Parameters
bIndexName [in]

bIndexName is a parameter of type BSTR gridSize1 [in]
gridSize1 is a parameter of type double gridSize2 [in]
gridSize2 is a parameter of type double gridSize3 [in]
gridSize3 is a parameter of type double

Product Availability

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

See Also

IFeatureClassSpatialIndex Interface