語言

SqlSpatialServices.GetArea 方法

定義

多載

名稱 Description
GetArea(DbGeography)

回傳一個可為空的雙重值,表示給定 DbGeography 值的面積,若該值不代表曲面,則可能是空值。

GetArea(DbGeometry)

回傳一個可為空的雙重值,表示給定 DbGeometry 值的面積,若該值不代表曲面,則可能是空值。

GetArea(DbGeography)

回傳一個可為空的雙重值,表示給定 DbGeography 值的面積,若該值不代表曲面,則可能是空值。

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 值的面積。

適用於

GetArea(DbGeometry)

回傳一個可為空的雙重值,表示給定 DbGeometry 值的面積,若該值不代表曲面,則可能是空值。

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 值的面積。

適用於