语言

SqlSpatialServices.GetArea 方法

定义

重载

名称 说明
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

不需要表示图面的地理值。

返回

一个可为 null 的双精度值,指示给定 DbGeography 值的区域。

适用于

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

不需要表示图面的几何图形值。

返回

一个可为 null 的双精度值,指示给定 DbGeometry 值的区域。

适用于