Freigeben über


ITextImage.GetLineFromPosition(Int32) Method

Definition

Gets an TextImageLine for a line at the given position.

public:
 Microsoft::VisualStudio::Text::TextImageLine GetLineFromPosition(int position);
public Microsoft.VisualStudio.Text.TextImageLine GetLineFromPosition (int position);
abstract member GetLineFromPosition : int -> Microsoft.VisualStudio.Text.TextImageLine
Public Function GetLineFromPosition (position As Integer) As TextImageLine

Parameters

position
Int32

The position.

Returns

A non-null TextImageLine.

Exceptions

position is less than zero or greater than length of line.

Applies to