M_Cyjb_Text_LinePosition__ctor_1 - CYJB/Cyjb GitHub Wiki
使用的行号、字符位置和列号初始化。
Namespace: Cyjb.Text
Assembly: Cyjb (in Cyjb.dll) Version: 1.0.23+7750dd8e971297c5fa962a3bee37fb78f72793f6
C#
public LinePosition(
int line,
int character,
int column
)
- line
- Type: System.Int32
行号,从1
开始。 - character
- Type: System.Int32
行内的字符位置,从0
开始。 - column
- Type: System.Int32
列号,从1
开始。
异常 | 条件 |
---|---|
ArgumentOutOfRangeException |
line 小于 0 。 |
ArgumentOutOfRangeException |
character 小于 0 。 |
ArgumentOutOfRangeException |
column 小于 0 。 |