Share via


DbGeometry.Contains(DbGeometry) Method

Definition

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

public bool Contains (System.Data.Entity.Spatial.DbGeometry other);
member this.Contains : System.Data.Entity.Spatial.DbGeometry -> bool
Public Function Contains (other As DbGeometry) As Boolean

Parameters

other
DbGeometry

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

Returns

true if this geometry value contains other; otherwise false.

Exceptions

Applies to