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

定义

确定当前不可变哈希集是否为指定集合的子集。Determines whether the current immutable hash set is a subset of a specified collection.

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>

要与当前集进行比较的集合。The collection to compare to the current set.

返回

如果当前集是指定集合的子集,则为 true;否则为 falsetrue if the current set is a subset of the specified collection; otherwise, false.

实现

适用于