Index.Spatial(DataType dataType) 方法

定义

Returns an instance of SpatialIndex class with specified DataType.

Here is an example to create SpatialIndex instance passing in the DataType:

SpatialIndex spatialIndex = Index.Spatial(DataType.Point);

public static SpatialIndex Spatial(DataType dataType)

参数

dataType
DataType

specifies the target data type for the index path specification.

返回

an instance of SpatialIndex type.

适用于