Span.IntersectsWith(Span) 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.
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.