Compartilhar via


ITextViewLine.IntersectsBufferSpan(SnapshotSpan) Method

Definition

Determines whether a bufferSpan intersects this text line.

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 intersects the text line, otherwise false.

Remarks

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

Applies to