Edit

Share via


DbGeometry.Within(DbGeometry) Method

Definition

Determines whether this DbGeometry value is spatially within the specified DbGeometry argument.

public:
 bool Within(System::Data::Spatial::DbGeometry ^ other);
public bool Within (System.Data.Spatial.DbGeometry other);
member this.Within : System.Data.Spatial.DbGeometry -> bool
Public Function Within (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 is within other; otherwise false.

Exceptions

Applies to