Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

DbSpatialServices.Intersection Method (DbGeography, DbGeography)

.NET Framework 4.6 and 4.5

Computes the intersection of two DbGeography values.

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

public abstract DbGeography Intersection(
	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 intersection of geographyValue and otherGeography.

ExceptionCondition
ArgumentNullException

geographyValue otherGeography

ArgumentException

geographyValue otherGeography

.NET Framework

Supported in: 4.6, 4.5
Show:
© 2015 Microsoft