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

定義

判斷目前的不可變雜湊集是否為指定之集合的適當 (嚴格) 子集。

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

參數

other
IEnumerable<T>

要與目前資料組比較的集合。

傳回

如果目前資料集為指定之集合的適當子集合,則為 true,否則為 false

實作

備註

如果目前的集合是 適當的子集 otherother 則必須至少有一個目前集合沒有的專案。

適用於