ImmutableSortedSet<T>.IImmutableSet<T>.Intersect Metoda

Definice

Vytvoří neměnnou sadu obsahující prvky, které existují v této i zadané množině.

 virtual System::Collections::Immutable::IImmutableSet<T> ^ System.Collections.Immutable.IImmutableSet<T>.Intersect(System::Collections::Generic::IEnumerable<T> ^ other) = System::Collections::Immutable::IImmutableSet<T>::Intersect;
System.Collections.Immutable.IImmutableSet<T> IImmutableSet<T>.Intersect (System.Collections.Generic.IEnumerable<T> other);
abstract member System.Collections.Immutable.IImmutableSet<T>.Intersect : seq<'T> -> System.Collections.Immutable.IImmutableSet<'T>
override this.System.Collections.Immutable.IImmutableSet<T>.Intersect : seq<'T> -> System.Collections.Immutable.IImmutableSet<'T>
Function Intersect (other As IEnumerable(Of T)) As IImmutableSet(Of T) Implements IImmutableSet(Of T).Intersect

Parametry

other
IEnumerable<T>

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

Návraty

Nová neměnná sada obsahující všechny prvky, které existují v obou sadách.

Implementuje

Poznámky

Tento člen je explicitní implementace členu rozhraní. Lze jej použít pouze v ImmutableSortedSet<T> případě, že je instance přetypovaná na IImmutableSet<T> rozhraní.

Balíček NuGet System.Collections.Immutable

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

Platí pro