Skip to content

M_Cyjb_Collections_CharSet_ExceptWith

CYJB edited this page Mar 20, 2024 · 13 revisions

CharSet.ExceptWith 方法

从当前集合内移除指定集合中的所有元素。

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

语法

C#

public override void ExceptWith(
	IEnumerable<char> other
)

参数

 

other
Type: System.Collections.Generic.IEnumerable(Char)
要从集合内移除的项的集合。

实现

ISet(T).ExceptWith(IEnumerable(T))

Exceptions

 

异常 条件
ArgumentNullException othernull

参见

Reference

CharSet 类
Cyjb.Collections 命名空间

Clone this wiki locally