ITextViewLine.IntersectsBufferSpan(SnapshotSpan) Method

Definition

Determines whether a bufferSpan intersects this text line.

C++/WinRT
bool IntersectsBufferSpan(Microsoft::VisualStudio::Text::SnapshotSpan bufferSpan);

Parameters

bufferSpan
SnapshotSpan

The buffer span.

Returns

true if bufferSpan intersects the text line, otherwise false.

Remarks

This method handles the special processing required for the last line of the buffer.

Applies to

Produkt Verzie
Visual Studio SDK 2015, 2017, 2019, 2022