IImmutableSet<T>.IsSubsetOf(IEnumerable<T>) 方法

定義

判斷目前的不可變資料集是否為指定集合的子集合。

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

參數

other
IEnumerable<T>

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

傳回

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

適用於