ITextViewLineCollection::ContainsBufferPosition Method (SnapshotPoint)
Visual Studio 2015
Determines whether the specified buffer position is contained by any of the ITextViewLine objects in the collection.
Assembly: Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)
Parameters
- bufferPosition
-
Type:
Microsoft.VisualStudio.Text::SnapshotPoint
The buffer position.
Return Value
Type: System::Booleantrue if bufferPosition is contained by ones of the ITextViewLine objects, otherwise false.
This method handles the special processing required for the last line of the buffer.
Show: