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