ImmutableHashSet<T>.IsSupersetOf(IEnumerable<T>) 方法
定义
确定当前不可变哈希集是否为指定集合的超集。Determines whether the current immutable hash set is a superset of a specified collection.
public:
virtual bool IsSupersetOf(System::Collections::Generic::IEnumerable<T> ^ other);
public bool IsSupersetOf (System.Collections.Generic.IEnumerable<T> other);
abstract member IsSupersetOf : seq<'T> -> bool
override this.IsSupersetOf : seq<'T> -> bool
Public Function IsSupersetOf (other As IEnumerable(Of T)) As Boolean
参数
- other
- IEnumerable<T>
要与当前集进行比较的集合。The collection to compare to the current set.
返回
如果当前集是指定集合的超集,则为 true;否则为 false。true if the current set is a superset of the specified collection; otherwise, false.