ITextViewLine.ContainsBufferPosition(SnapshotPoint) Method

Definition

Determines whether the specified buffer position lies within this text line.

public:
 bool ContainsBufferPosition(Microsoft::VisualStudio::Text::SnapshotPoint bufferPosition);
public bool ContainsBufferPosition (Microsoft.VisualStudio.Text.SnapshotPoint bufferPosition);
abstract member ContainsBufferPosition : Microsoft.VisualStudio.Text.SnapshotPoint -> bool
Public Function ContainsBufferPosition (bufferPosition As SnapshotPoint) As Boolean

Parameters

bufferPosition
SnapshotPoint

The buffer position.

Returns

true if bufferPosition lies within this text line, otherwise false.

Remarks

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

Applies to