次の方法で共有


TextSpan.IntersectsWith Method

Definition

Overloads

IntersectsWith(TextSpan)

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.

IntersectsWith(Int32)

Determines whether position intersects this span. A position is considered to intersect if it is between the start and end positions (inclusive) of this span.

IntersectsWith(TextSpan)

Source:
TextSpan.cs
Source:
TextSpan.cs
Source:
TextSpan.cs
Source:
TextSpan.cs
Source:
TextSpan.cs
Source:
TextSpan.cs
Source:
TextSpan.cs
Source:
TextSpan.cs
Source:
TextSpan.cs
Source:
TextSpan.cs
Source:
TextSpan.cs
Source:
TextSpan.cs
Source:
TextSpan.cs
Source:
TextSpan.cs
Source:
TextSpan.cs
Source:
TextSpan.cs
Source:
TextSpan.cs
Source:
TextSpan.cs
Source:
TextSpan.cs
Source:
TextSpan.cs
Source:
TextSpan.cs
Source:
TextSpan.cs
Source:
TextSpan.cs

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::CodeAnalysis::Text::TextSpan span);
public bool IntersectsWith (Microsoft.CodeAnalysis.Text.TextSpan span);
member this.IntersectsWith : Microsoft.CodeAnalysis.Text.TextSpan -> bool
Public Function IntersectsWith (span As TextSpan) As Boolean

Parameters

span
TextSpan

The span to check.

Returns

true if the spans intersect, otherwise false.

Applies to

IntersectsWith(Int32)

Source:
TextSpan.cs
Source:
TextSpan.cs
Source:
TextSpan.cs
Source:
TextSpan.cs
Source:
TextSpan.cs
Source:
TextSpan.cs
Source:
TextSpan.cs
Source:
TextSpan.cs
Source:
TextSpan.cs
Source:
TextSpan.cs
Source:
TextSpan.cs
Source:
TextSpan.cs
Source:
TextSpan.cs
Source:
TextSpan.cs
Source:
TextSpan.cs
Source:
TextSpan.cs
Source:
TextSpan.cs
Source:
TextSpan.cs
Source:
TextSpan.cs
Source:
TextSpan.cs
Source:
TextSpan.cs
Source:
TextSpan.cs
Source:
TextSpan.cs

Determines whether position intersects this span. A position is considered to intersect if it is between the start and end positions (inclusive) of this span.

public:
 bool IntersectsWith(int position);
public bool IntersectsWith (int position);
member this.IntersectsWith : int -> bool
Public Function IntersectsWith (position As Integer) As Boolean

Parameters

position
Int32

The position to check.

Returns

true if the position intersects, otherwise false.

Applies to