ImmutableHashSet<T>.Intersect(IEnumerable<T>) Método

Definición

Crea un conjunto hash inmutable que contiene los elementos que existen en este conjunto y en el conjunto especificado.

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)

Parámetros

other
IEnumerable<T>

Colección que se va a comparar con el conjunto actual.

Devoluciones

Nuevo conjunto inmutable que contiene los elementos que existen en ambos conjuntos.

Se aplica a