Skip to content

M_Cyjb_Text_TextSpan_Contains

CYJB edited this page Mar 20, 2024 · 12 revisions

TextSpan.Contains 方法 (TextSpan)

返回指定的 TextSpan 是否完全包含在当前范围中。

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

语法

C#

public bool Contains(
	TextSpan span
)

参数

 

span
Type: Cyjb.Text.TextSpan
要检查的范围。

返回值

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

参见

Reference

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

Clone this wiki locally