ImmutableHashSet<T>.ISet<T>.IntersectWith(IEnumerable<T>) Método

Definição

Modifica o conjunto atual para que ele contenha apenas elementos que também estejam em uma coleção especificada.Modifies the current set so that it contains only elements that are also in a specified collection.

 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

Parâmetros

other
IEnumerable<T>

A coleção a ser comparada com a coleção atual.The collection to compare to the current collection.

Implementações

Comentários

Este membro é uma implementação do membro de interface explícita.This member is an explicit interface member implementation. Ele só pode ser usado quando a instância de ImmutableHashSet<T> é convertida em uma interface de ISet<T>.It can be used only when the ImmutableHashSet<T> instance is cast to an ISet<T> interface.

Aplica-se a