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

要檢查的序列。

傳回

若此集合是其他集合的真子集,則為真;否則為假。

適用於