ImmutableSortedSet<T>.IImmutableSet<T>.Intersect(IEnumerable<T>) Yöntem
Tanım
Hem bu küme içinde hem de belirtilen küme içinde bulunan öğeleri içeren sabit bir küme oluşturur.Creates an immutable set that contains elements that exist in both this set and the specified set.
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
Parametreler
- other
- IEnumerable<T>
Geçerli küme ile Karşılaştırılacak koleksiyon.The collection to compare to the current set.
Döndürülenler
Her iki küme içinde bulunan öğeleri içeren yeni bir sabit küme.A new immutable set that contains any elements that exist in both sets.
Uygulamalar
Açıklamalar
Bu üye, açık bir arabirim üyesi uygulamasıdır.This member is an explicit interface member implementation. Bu, yalnızca ImmutableSortedSet<T> örnek bir arabirime yayınlandığınızda kullanılabilir IImmutableSet<T> .It can be used only when the ImmutableSortedSet<T> instance is cast to an IImmutableSet<T> interface.
System. Collections. sabit NuGet paketiSystem.Collections.Immutable NuGet package
Değişmez koleksiyonlar ve nasıl yükleneceği hakkındaAbout immutable collections and how to install