語言

IReadOnlySet<T>.IsProperSubsetOf(IEnumerable<T>) 方法

定義

檢查這個集合是否是其他集合的子集,但不是同一個集合。

public bool IsProperSubsetOf(System.Collections.Generic.IEnumerable<T> other);
abstract member IsProperSubsetOf : seq<'T> -> bool
Public Function IsProperSubsetOf (other As IEnumerable(Of T)) As Boolean

參數

other
IEnumerable<T>

要檢查的序列。

傳回

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

適用於