Compartir a través de


NormalizedSpanCollection.OverlapsWith Method

Definition

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

set
NormalizedSpanCollection

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.

Applies to