TextRange.OverlapsWith(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
overlaps this range.
Two ranges are considered to overlap if they have positions in common and are not empty. Empty ranges do not overlap with any other range.
public bool OverlapsWith (Microsoft.VisualStudio.Extensibility.Editor.TextRange range);
member this.OverlapsWith : Microsoft.VisualStudio.Extensibility.Editor.TextRange -> bool
Public Function OverlapsWith (range As TextRange) As Boolean
Parameters
- range
- TextRange
The range to check for overlap.
Returns
true
if the ranges overlap, otherwise false
.