ITextViewLine::GetTextElementSpan Method (SnapshotPoint)
Visual Studio 2015
Gets the span whose text element index corresponds to the given buffer position.
Assembly: Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)
Parameters
- bufferPosition
-
Type:
Microsoft.VisualStudio.Text::SnapshotPoint
The buffer position.
Return Value
Type: Microsoft.VisualStudio.Text::SnapshotSpanThe SnapshotSpan that corresponds to the given text element.
Show: