Partilhar via


TextLineCollection.GetLineFromPosition(Int32) Method

Definition

Gets a TextLine that encompasses the character position.

public:
 virtual Microsoft::CodeAnalysis::Text::TextLine GetLineFromPosition(int position);
public virtual Microsoft.CodeAnalysis.Text.TextLine GetLineFromPosition (int position);
abstract member GetLineFromPosition : int -> Microsoft.CodeAnalysis.Text.TextLine
override this.GetLineFromPosition : int -> Microsoft.CodeAnalysis.Text.TextLine
Public Overridable Function GetLineFromPosition (position As Integer) As TextLine

Parameters

position
Int32

Returns

Applies to