ESRI.ArcGIS.DataManagementTools Send your comments to: Site Administrator | Terms of Use | PRIVACY | Copyright @ ESRI | Careers
AddSpatialIndex Class
See Also  Members  
ESRI.ArcGIS.DataManagementTools Namespace : AddSpatialIndex Class


Creates a new spatial index for a shapefile or an SDE feature class.A spatial index is a two-dimensional grid system that spans a feature class. It is used to quickly locate features that match a spatial query. Careful selection of a spatial index will increase the efficiency of your spatial searches. If you are unfamiliar with creating spatial index grids, use the default value provided; creating a poorly defined grid will increase the time needed to complete a spatial search.The spatial index cannot be added to a personal geodatabase feature class. The spatial index can only be added when the feature class is created.

Syntax

Visual Basic (Declaration)  
Public Class AddSpatialIndex 
   Implements IGPProcess 
Visual Basic (Usage) Copy Code
Dim instance As AddSpatialIndex
C#  
public class AddSpatialIndex : IGPProcess  

Inheritance Hierarchy

System.Object
   ESRI.ArcGIS.DataManagementTools.AddSpatialIndex

Requirements

Target Platforms:Windows XP Professional, Windows Server 2003 family

See Also