語言

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

定義

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

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

參數

other
IEnumerable<T>

用來和現有的系列做比較。

傳回

true如果目前的集合是指定集合的子集;否則,。 false

實作

適用於