SqlSpatialServices.GetDimension 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 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 是集合,則為最大元素維度。