M_Cyjb_Text_LinePosition__ctor - CYJB/Cyjb GitHub Wiki

LinePosition 构造函数 (Int32, Int32)

使用的行号的字符位置初始化。

Namespace: Cyjb.Text
Assembly: Cyjb (in Cyjb.dll) Version: 1.0.23+7750dd8e971297c5fa962a3bee37fb78f72793f6

语法

C#

public LinePosition(
	int line,
	int character
)

参数

 

line
Type: System.Int32
行号,从 1 开始。
character
Type: System.Int32
行内的字符位置,从 0 开始。

Exceptions

 

异常 条件
ArgumentOutOfRangeException line 小于 0
ArgumentOutOfRangeException character 小于 0

参见

Reference

LinePosition 结构
LinePosition 重载
Cyjb.Text 命名空间

⚠️ **GitHub.com Fallback** ⚠️