ITextViewLineCollection::GetTextViewLinesIntersectingSpan Method (SnapshotSpan)
Visual Studio 2015
Gets all of the ITextViewLine objects that intersect bufferSpan.
Assembly: Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)
Parameters
- bufferSpan
-
Type:
Microsoft.VisualStudio.Text::SnapshotSpan
The span.
Return Value
Type: System.Collections.ObjectModel::Collection<ITextViewLine^>^A sorted collection of ITextViewLine objects that intersect the buffer span.
This returns an empty list if there is no intersection between the ITextViewLine objects in this collection and bufferSpan.This method handles the special processing required for the last line of the buffer.
Show: