ITextViewLineCollection::IntersectsBufferSpan Method (SnapshotSpan)

 

Determines whether the specified buffer span intersects any of the ITextViewLine objects in the collection.

Namespace:   Microsoft.VisualStudio.Text.Editor
Assembly:  Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)

bool IntersectsBufferSpan(
	SnapshotSpan bufferSpan
)

Parameters

bufferSpan
Type: Microsoft.VisualStudio.Text::SnapshotSpan

The buffer span.

Return Value

Type: System::Boolean

true if bufferSpan is contained by ones of the ITextViewLine objects, otherwise false.

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

Return to top
Show: