ITextViewLineCollection.IntersectsBufferSpan(SnapshotSpan) 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.
Detrmines whether the specified buffer span intersects any of the ITextViewLine objects in the collection.
public:
bool IntersectsBufferSpan(Microsoft::VisualStudio::Text::SnapshotSpan bufferSpan);
bool IntersectsBufferSpan(Microsoft::VisualStudio::Text::SnapshotSpan bufferSpan);
public bool IntersectsBufferSpan (Microsoft.VisualStudio.Text.SnapshotSpan bufferSpan);
abstract member IntersectsBufferSpan : Microsoft.VisualStudio.Text.SnapshotSpan -> bool
Public Function IntersectsBufferSpan (bufferSpan As SnapshotSpan) As Boolean
Parameters
- bufferSpan
- SnapshotSpan
The buffer span.
Returns
true
if bufferSpan
is contained by ones of the ITextViewLine objects, otherwise false
.
Remarks
This method handles the special processing required for the last line of the buffer.