TextViewExtensions.TryGetTextViewLineContainingBufferPosition 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.
public:
[System::Runtime::CompilerServices::Extension]
static bool TryGetTextViewLineContainingBufferPosition(Microsoft::VisualStudio::Text::Editor::ITextView ^ textView, Microsoft::VisualStudio::Text::SnapshotPoint bufferPosition, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Text::Formatting::ITextViewLine ^ % textViewLine);
public static bool TryGetTextViewLineContainingBufferPosition (this Microsoft.VisualStudio.Text.Editor.ITextView textView, Microsoft.VisualStudio.Text.SnapshotPoint bufferPosition, out Microsoft.VisualStudio.Text.Formatting.ITextViewLine textViewLine);
static member TryGetTextViewLineContainingBufferPosition : Microsoft.VisualStudio.Text.Editor.ITextView * Microsoft.VisualStudio.Text.SnapshotPoint * ITextViewLine -> bool
<Extension()>
Public Function TryGetTextViewLineContainingBufferPosition (textView As ITextView, bufferPosition As SnapshotPoint, ByRef textViewLine As ITextViewLine) As Boolean
Parameters
- textView
- ITextView
- bufferPosition
- SnapshotPoint
- textViewLine
- ITextViewLine