SqlSpatialServices.GetArea Method

 

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.

Namespace:   System.Data.Entity.SqlServer
Assembly:  EntityFramework.SqlServer (in EntityFramework.SqlServer.dll)

NameDescription
System_CAPS_pubmethodGetArea(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.(Overrides DbSpatialServices.GetArea(DbGeography).)

System_CAPS_pubmethodGetArea(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.(Overrides DbSpatialServices.GetArea(DbGeometry).)


SqlSpatialServices.GetArea Method (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(
	DbGeography geographyValue
)

Parameters

geographyValue
Type: System.Data.Entity.Spatial.DbGeography

The geography value, which need not represent a surface.

Return Value

Type: System.Nullable<Double>

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


SqlSpatialServices.GetArea Method (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(
	DbGeometry geometryValue
)

Parameters

geometryValue
Type: System.Data.Entity.Spatial.DbGeometry

The geometry value, which need not represent a surface.

Return Value

Type: System.Nullable<Double>

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