DbGeometry.Contains(DbGeometry) Method

Definition

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

public:
 bool Contains(System::Data::Spatial::DbGeometry ^ other);
public bool Contains (System.Data.Spatial.DbGeometry other);
member this.Contains : System.Data.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