ITextImage.GetLineFromLineNumber(Int32) 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.
Gets an TextImageLine for the given line number.
public:
Microsoft::VisualStudio::Text::TextImageLine GetLineFromLineNumber(int lineNumber);
public Microsoft.VisualStudio.Text.TextImageLine GetLineFromLineNumber (int lineNumber);
abstract member GetLineFromLineNumber : int -> Microsoft.VisualStudio.Text.TextImageLine
Public Function GetLineFromLineNumber (lineNumber As Integer) As TextImageLine
Parameters
- lineNumber
- Int32
The line number.
Returns
A non-null TextImageLine.
Exceptions
lineNumber
is less than zero or greater than or equal to LineCount.