バージョン 24.2 (最新)

Line プロパティ

ゼロから始まる行番号を返します (読み取り専用)。
シンタックス
public int Line {get;}
参照