IImmutableSet<T>.IsSupersetOf(IEnumerable<T>) IImmutableSet<T>.IsSupersetOf(IEnumerable<T>) IImmutableSet<T>.IsSupersetOf(IEnumerable<T>) IImmutableSet<T>.IsSupersetOf(IEnumerable<T>) Method

定義

判斷目前的不可變資料集是否為指定集合的超集合。Determines whether the current immutable set is a superset of a specified collection.

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

參數

other
IEnumerable<T> IEnumerable<T> IEnumerable<T> IEnumerable<T>

要與目前資料組比較的集合。The collection to compare to the current set.

傳回

如果目前的資料集為指定之集合的超集,則為 true,否則為 falsetrue if the current set is a superset of the specified collection; otherwise, false.

適用於