SqlSpatialServices.GetArea 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| GetArea(DbGeography) |
傳回可為 null 的雙精度浮點數值,指出指定的 DbGeography 值的範圍,如果值不能代表介面,就可能為 null。 |
| GetArea(DbGeometry) |
傳回可為 null 的雙精度浮點數值,指出指定的 DbGeometry 值的範圍,如果值不能代表介面,就可能為 null。 |
GetArea(DbGeography)
傳回可為 null 的雙精度浮點數值,指出指定的 DbGeography 值的範圍,如果值不能代表介面,就可能為 null。
public override Nullable<double> GetArea(System.Data.Entity.Spatial.DbGeography geographyValue);
override this.GetArea : System.Data.Entity.Spatial.DbGeography -> Nullable<double>
Public Overrides Function GetArea (geographyValue As DbGeography) As Nullable(Of Double)
參數
- geographyValue
- DbGeography
地理位置值,不需要代表表面。
傳回
表示指定 DbGeography 值之面積的可為 Null 的雙精度值。
適用於
GetArea(DbGeometry)
傳回可為 null 的雙精度浮點數值,指出指定的 DbGeometry 值的範圍,如果值不能代表介面,就可能為 null。
public override Nullable<double> GetArea(System.Data.Entity.Spatial.DbGeometry geometryValue);
override this.GetArea : System.Data.Entity.Spatial.DbGeometry -> Nullable<double>
Public Overrides Function GetArea (geometryValue As DbGeometry) As Nullable(Of Double)
參數
- geometryValue
- DbGeometry
幾何值,不需要代表表面。
傳回
表示指定 DbGeometry 值之面積的可為 Null 的雙精度值。