DbGeometry.Contains Method (DbGeometry)

.NET Framework (current version)
 

Determines whether this DbGeometry value spatially contains the specified DbGeometry argument.

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

public bool Contains(
	DbGeometry other
)

Parameters

other
Type: System.Data.Spatial.DbGeometry

The geometry value that should be compared with this geometry value for containment.

Return Value

Type: System.Boolean

true if this geometry value contains other; otherwise false.

Exception Condition
ArgumentNullException

other

.NET Framework
Available since 4.5
Return to top
Show: