SqlSpatialServices.GetDimension 方法

定义

重载

GetDimension(DbGeography)

如果值为集合,则获取给定 DbGeography 值的维度或最大的元素维度。

GetDimension(DbGeometry)

如果值为集合,则获取给定 DbGeometry 值的维度或最大的元素维度。

GetDimension(DbGeography)

如果值为集合,则获取给定 DbGeography 值的维度或最大的元素维度。

public override int GetDimension(System.Data.Entity.Spatial.DbGeography geographyValue);
override this.GetDimension : System.Data.Entity.Spatial.DbGeography -> int
Public Overrides Function GetDimension (geographyValue As DbGeography) As Integer

参数

geographyValue
DbGeography

尺寸值应被检索的地理值。

返回

geographyValue 的维度,如果 是集合,则 DbGeography 为最大的元素维度。

适用于

GetDimension(DbGeometry)

如果值为集合,则获取给定 DbGeometry 值的维度或最大的元素维度。

public override int GetDimension(System.Data.Entity.Spatial.DbGeometry geometryValue);
override this.GetDimension : System.Data.Entity.Spatial.DbGeometry -> int
Public Overrides Function GetDimension (geometryValue As DbGeometry) As Integer

参数

geometryValue
DbGeometry

尺寸值应被检索的几何图形值。

返回

geometryValue 的维度,如果 是集合,则为最大元素维度 DbGeometry

适用于