ITextViewLineCollection::GetIndexOfTextLine Method (ITextViewLine^)
Visual Studio 2015
Gets the index in the text lines of the given text view line.
Assembly: Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)
Parameters
- textLine
-
Type:
Microsoft.VisualStudio.Text.Formatting::ITextViewLine^
The ITextViewLine for which to find the index.
| Exception | Condition |
|---|---|
| ArgumentNullException | textLine is null. |
| ObjectDisposedException | textLine has been disposed. |
Show: