Aracılığıyla paylaş


Span.IntersectsWith(Span) Method

Definition

Determines whether span intersects this span. Two spans are considered to intersect if they have positions in common or the end of one span coincides with the start of the other 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 check.

Returns

true if the spans intersect, otherwise false.

Remarks

Two spans intersect if they have positions in common, or if the end of one span coincides with the start of the other span.

Applies to