Udostępnij za pośrednictwem


TextRange.IntersectsWith(TextRange) Method

Definition

Determines whether range intersects this range. Two ranges are considered to intersect if they have positions in common, or the end of one range coincides with the start of the other range, and neither is empty.

public bool IntersectsWith (Microsoft.VisualStudio.Extensibility.Editor.TextRange range);
member this.IntersectsWith : Microsoft.VisualStudio.Extensibility.Editor.TextRange -> bool
Public Function IntersectsWith (range As TextRange) As Boolean

Parameters

range
TextRange

The range to check.

Returns

true if the ranges intersect, otherwise false.

Applies to