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

Definice

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

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

Parametry

other
IEnumerable<T>

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

Návraty

true pokud je aktuální sada správnou nadmnožinou other; v opačném případě false.

Implementuje

Poznámky

Prázdná sada je správnou nadmnožinou jakékoli jiné kolekce. Proto tato metoda vrátí true , pokud kolekce reprezentovaná parametrem other je prázdná, pokud aktuální sada není také prázdná.

Balíček NuGet System.Collections.Immutable

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

Platí pro