Export (0) Print
Expand All

DbSpatialServices.Intersects Method (DbGeography, DbGeography)

.NET Framework 4.5

Determines whether the two given DbGeography values spatially intersect.

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

public abstract bool Intersects(
	DbGeography geographyValue,
	DbGeography otherGeography
)

Parameters

geographyValue
Type: System.Data.Spatial.DbGeography

The first geography value to compare for intersection.

otherGeography
Type: System.Data.Spatial.DbGeography

The second geography value to compare for intersection.

Return Value

Type: System.Boolean
true if geographyValue intersects otherGeography; otherwise false.

ExceptionCondition
ArgumentNullException

geographyValue otherGeography

ArgumentException

geographyValue otherGeography

.NET Framework

Supported in: 4.6, 4.5
Show:
© 2015 Microsoft