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