TextRange.IntersectsWith(TextRange) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
.