TextSpan.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(TextSpan) |
Determines whether |
IntersectsWith(Int32) |
Determines whether |
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
.NET