语言

IReadOnlySet.IsSubsetOf(IEnumerable) 方法

定义

检查此集是否是其他集的子集。

public bool IsSubsetOf(System.Collections.IEnumerable other);
abstract member IsSubsetOf : System.Collections.IEnumerable -> bool
Public Function IsSubsetOf (other As IEnumerable) As Boolean

参数

other
IEnumerable

要检查的序列。

返回

如此 如果此集是其他集的子集;否则为 false。

适用于