Skip to content

M_Cyjb_Text_TextSpan_Contains_1

CYJB edited this page Mar 20, 2024 · 12 revisions

TextSpan.Contains 方法 (Int32)

返回指定的位置是否包含在当前范围中。

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

语法

C#

public bool Contains(
	int position
)

参数

 

position
Type: System.Int32
要检查的位置。

返回值

Type: Boolean
如果指定的位置包含在当前范围中,则为 true;否则为 false

参见

Reference

TextSpan 结构
Contains 重载
Cyjb.Text 命名空间

Clone this wiki locally