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

Definice

Určuje, zda aktuální neměnná seřazená sada a zadaná kolekce obsahují stejné prvky.

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

Parametry

other
IEnumerable<T>

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

Návraty

truepokud jsou sady rovny; v opačném případě . false

Implementuje

Poznámky

Balíček NuGet System.Collections.Immutable

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

Platí pro