ImmutableHashSet<T>.Intersect(IEnumerable<T>) Metodo

Definizione

Crea un set di hash non modificabile che contiene elementi presenti sia in questo set che nel set specificato.

public:
 System::Collections::Immutable::ImmutableHashSet<T> ^ Intersect(System::Collections::Generic::IEnumerable<T> ^ other);
public System.Collections.Immutable.ImmutableHashSet<T> Intersect(System.Collections.Generic.IEnumerable<T> other);
member this.Intersect : seq<'T> -> System.Collections.Immutable.ImmutableHashSet<'T>
Public Function Intersect (other As IEnumerable(Of T)) As ImmutableHashSet(Of T)

Parametri

other
IEnumerable<T>

Raccolta da confrontare con il set corrente.

Valori restituiti

Nuovo set non modificabile che contiene tutti gli elementi presenti in entrambi i set.

Si applica a