GetArea Method (DbGeometry)
Collapse the table of content
Expand the table of content

DbSpatialServices.GetArea Method (DbGeometry)

.NET Framework (current version)
 

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.

Namespace:   System.Data.Spatial
Assembly:  System.Data.Entity (in System.Data.Entity.dll)

public abstract Nullable<double> GetArea(
	DbGeometry geometryValue
)

Parameters

geometryValue
Type: System.Data.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.

Exception Condition
ArgumentNullException

geometryValue

ArgumentException

geometryValue

.NET Framework
Available since 4.5
Return to top
Show:
© 2016 Microsoft