语言

IReadOnlySet.IsProperSubsetOf(IEnumerable) 方法

定义

检查此集是否是其他集的子集,但与该集不同。

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

参数

other
IEnumerable

要检查的序列。

返回

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

适用于