Freigeben über


ITextImage.GetLineFromLineNumber(Int32) Method

Definition

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.

Applies to