Share via


SqlSpatialServices.GetArea Method

Definition

Overloads

GetArea(DbGeography)

Returns a nullable double value that indicates the area of the given DbGeography value, which may be null if the value does not represent a surface.

GetArea(DbGeometry)

Returns a nullable double value that indicates the area of the given DbGeometry value, which may be null if the value does not represent a surface.

GetArea(DbGeography)

Returns a nullable double value that indicates the area of the given DbGeography value, which may be null if the value does not represent a surface.

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)

Parameters

geographyValue
DbGeography

The geography value, which need not represent a surface.

Returns

A nullable double value that indicates the area of the given DbGeography value.

Applies to

GetArea(DbGeometry)

Returns a nullable double value that indicates the area of the given DbGeometry value, which may be null if the value does not represent a surface.

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)

Parameters

geometryValue
DbGeometry

The geometry value, which need not represent a surface.

Returns

A nullable double value that indicates the area of the given DbGeometry value.

Applies to