TextLineCollection.GetLinePosition(Int32) 方法

定义

获取与 LinePosition 字符位置对应的字符位置。

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

参数

position
Int32

返回

适用于