ImmutableSortedSet<T>.ISet<T>.IntersectWith Méthode

Définition

Modifie l'ensemble actuel pour qu'il contienne uniquement les éléments qui figurent également dans une collection spécifiée.

 virtual void System.Collections.Generic.ISet<T>.IntersectWith(System::Collections::Generic::IEnumerable<T> ^ other) = System::Collections::Generic::ISet<T>::IntersectWith;
void ISet<T>.IntersectWith (System.Collections.Generic.IEnumerable<T> other);
abstract member System.Collections.Generic.ISet<T>.IntersectWith : seq<'T> -> unit
override this.System.Collections.Generic.ISet<T>.IntersectWith : seq<'T> -> unit
Sub IntersectWith (other As IEnumerable(Of T)) Implements ISet(Of T).IntersectWith

Paramètres

other
IEnumerable<T>

Collection à comparer à l’ensemble actuel.

Implémente

Remarques

Ce membre est une implémentation d'un membre d'interface explicite. Il peut uniquement être utilisé lorsque l'instance de ImmutableSortedSet<T> est castée en interface ISet<T>.

Package NuGet System.Collections.Immutable

À propos des collections immuables et de l’installation

S’applique à