ImmutableSortedSet<T>.IsSupersetOf(IEnumerable<T>) Metoda

Definice

Určuje, zda aktuální neměnná seřazená sada je nadmnožinou zadané kolekce.

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

Parametry

other
IEnumerable<T>

Kolekce, která se má porovnat s aktuální sadou.

Návraty

truepokud je aktuální sada nadmnožinou ; otherv opačném případě . false

Implementuje

Poznámky

Všechny kolekce, včetně prázdných sad, jsou nadmnožinou prázdné sady. Proto tato metoda vrátí true , pokud kolekce reprezentovaná parametrem other je prázdná, i když je aktuálně seřazená sada prázdná.

Balíček NuGet System.Collections.Immutable

Informace o neměnných kolekcích a postupu instalace

Platí pro