ITextSnapshot::GetLineFromLineNumber Method (Int32)
Visual Studio 2015
Gets an ITextSnapshotLine for the given line number.
Assembly: Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)
Parameters
- lineNumber
-
Type:
System::Int32
The line number.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | lineNumber is less than zero, or greater than or equal to the line count. |
Show: