语言

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 为集合,则为最大元素维度。

适用于