SqlGeometry.STOverlaps(SqlGeometry) Method

Definition

Determines whether the specified SqlGeometry overlaps the current SqlGeometry.

[Microsoft.SqlServer.Server.SqlMethod(IsDeterministic=true, IsPrecise=false)]
public System.Data.SqlTypes.SqlBoolean STOverlaps (Microsoft.SqlServer.Types.SqlGeometry other);
[<Microsoft.SqlServer.Server.SqlMethod(IsDeterministic=true, IsPrecise=false)>]
member this.STOverlaps : Microsoft.SqlServer.Types.SqlGeometry -> System.Data.SqlTypes.SqlBoolean
Public Function STOverlaps (other As SqlGeometry) As SqlBoolean

Parameters

other
SqlGeometry

The SqlGeometry instance to compare against the instance on which STOverlaps(SqlGeometry) is invoked.

Returns

Returns true if a SqlGeometry instance overlaps another SqlGeometry instance. Returns false if it does not.

Attributes

Applies to