ITextViewLineCollection.ContainsBufferPosition(SnapshotPoint) 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.
Determines whether the specified buffer position is contained by any of the ITextViewLine objects in the collection.
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
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.