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


IGeometryDef.GridSize Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabase)  

IGeometryDef.GridSize Property

The size of a spatial index grid.

[Visual Basic .NET]
Public Function get_GridSize ( _
    ByVal Index As Integer _
) As Double
[C#]
public double get_GridSize (
    int Index
);
[C++]
HRESULT get_GridSize(
  long Index,
  double* Size
);
[C++]

Parameters Index [in] Index is a parameter of type long Size [out, retval] Size is a parameter of type double

Product Availability

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

Remarks

Personal geodatabase feature classes only support one spatial index. Any additional indexes will be ignored. File and ArcSDE geodatabase feature classes support up to 3 spatial indexes. The GridSize index is zero based with a maximum of index of 2.

If the value returned by this property is -2, it means the spatial index is an R-Tree index (e.g. Oracle Spatial, Informix, PostgreSQL).

See Also

IGeometryDef Interface

.NET Related Topics

Working with indexes