NormalizedSpanCollection.OverlapsWith 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.
Overloads
OverlapsWith(NormalizedSpanCollection) |
Determines whether this span set overlaps with another span set. |
OverlapsWith(Span) |
Determines whether this span set overlaps with another span. |
OverlapsWith(NormalizedSpanCollection)
Determines whether this span set overlaps with another span set.
public:
bool OverlapsWith(Microsoft::VisualStudio::Text::NormalizedSpanCollection ^ set);
public bool OverlapsWith (Microsoft.VisualStudio.Text.NormalizedSpanCollection set);
member this.OverlapsWith : Microsoft.VisualStudio.Text.NormalizedSpanCollection -> bool
Public Function OverlapsWith (set As NormalizedSpanCollection) As Boolean
Parameters
The span set to test.
Returns
true
if the span sets overlap, otherwise false
.
Exceptions
set
is null.
Applies to
OverlapsWith(Span)
Determines whether this span set overlaps with another span.
public:
bool OverlapsWith(Microsoft::VisualStudio::Text::Span span);
public:
bool OverlapsWith(Microsoft::VisualStudio::Text::Span span);
bool OverlapsWith(Microsoft::VisualStudio::Text::Span span);
public bool OverlapsWith (Microsoft.VisualStudio.Text.Span span);
member this.OverlapsWith : Microsoft.VisualStudio.Text.Span -> bool
Public Function OverlapsWith (span As Span) As Boolean
Parameters
- span
- Span
The span to test.
Returns
true
if this span set overlaps with the given span, otherwise false
.