Compartilhar via


NormalizedSpanCollection.IntersectsWith Method

Definition

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
NormalizedSpanCollection

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.

Applies to