Export (0) Print
Expand All

DbSpatialServices.Difference Method (DbGeometry, DbGeometry)

.NET Framework 4.5

Computes the difference between two DbGeometry values.

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

public abstract DbGeometry Difference(
	DbGeometry geometryValue,
	DbGeometry otherGeometry
)

Parameters

geometryValue
Type: System.Data.Spatial.DbGeometry

The first geometry value.

otherGeometry
Type: System.Data.Spatial.DbGeometry

The second geometry value.

Return Value

Type: System.Data.Spatial.DbGeometry
A new DbGeometry value representing the difference between geometryValue and otherGeometry.

ExceptionCondition
ArgumentNullException

geometryValue otherGeometry

ArgumentException

geometryValue otherGeometry

.NET Framework

Supported in: 4.6, 4.5
Show:
© 2015 Microsoft