ImmutableSortedSet<T>.Builder.IsSupersetOf(IEnumerable<T>) ImmutableSortedSet<T>.Builder.IsSupersetOf(IEnumerable<T>) ImmutableSortedSet<T>.Builder.IsSupersetOf(IEnumerable<T>) ImmutableSortedSet<T>.Builder.IsSupersetOf(IEnumerable<T>) Method

定义

确定当前集是否为指定集合的超集。Determines whether the current 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> IEnumerable<T> IEnumerable<T> IEnumerable<T>

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

返回

如果当前集是 other 的超集,则为 true;否则为 falsetrue if the current set is a superset of other; otherwise, false.

实现

适用于