Export (0) Print
Expand All

DbSpatialServices.Difference Method (DbGeography, DbGeography)

.NET Framework 4.5

Computes the difference of two DbGeography values.

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

public abstract DbGeography Difference(
	DbGeography geographyValue,
	DbGeography otherGeography
)

Parameters

geographyValue
Type: System.Data.Spatial.DbGeography

The first geography value.

otherGeography
Type: System.Data.Spatial.DbGeography

The second geography value.

Return Value

Type: System.Data.Spatial.DbGeography
A new DbGeography value representing the difference of geographyValue and otherGeography.

ExceptionCondition
ArgumentNullException

geographyValue otherGeography

ArgumentException

geographyValue otherGeography

.NET Framework

Supported in: 4.6, 4.5
Show:
© 2015 Microsoft