ArcObjects Library Reference (GeoDatabase)  

IGeometryDefEdit.GridSize Property

The size of a spatial index grid.

[Visual Basic .NET]
Public Sub set_GridSize ( _
    ByVal Index As Integer, _
    ByVal A_2 As Double _
)
[C#]
public void set_GridSize (
    int Index,
    double A_2
);
[C++]
HRESULT put_GridSize(
  long Index,
  double 
);
[C++]

Parameters

Index [in]   Index is a parameter of type long [in]    is a parameter of type double

Product Availability

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

Remarks

GridSize specifies the size of the spatial index.  Personal Geodatabases feature classes support one spatial index while File and ArcSDE Geodatabase feature classes support up to 3 spatial indexes. Note that each additional index must be larger than the previous index. The GridSize index is zero based with a maximum index of 2.

If an R-Tree index is being used as a spatial index (e.g. Oracle Spatial, Informix, PostgreSQL), this property should be set to 0.

See Also

IGeometryDefEdit Interface