共用方式為


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 是集合,則為最大元素維度。

適用於