Skip to content

M_Cyjb_Text_LinePosition__ctor_1

CYJB edited this page Mar 20, 2024 · 12 revisions

LinePosition 构造函数 (Int32, Int32, Int32)

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

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 开始。

Exceptions

 

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

参见

Reference

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

Clone this wiki locally