ReadOnlySet<T>.SetEquals(IEnumerable<T>) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Détermine si le jeu actuel et la collection spécifiée contiennent les mêmes éléments.
public:
virtual bool SetEquals(System::Collections::Generic::IEnumerable<T> ^ other);
public bool SetEquals(System.Collections.Generic.IEnumerable<T> other);
abstract member SetEquals : seq<'T> -> bool
override this.SetEquals : seq<'T> -> bool
Public Function SetEquals (other As IEnumerable(Of T)) As Boolean
Paramètres
- other
- IEnumerable<T>
Collection à comparer au jeu actuel.
Retours
true si l’ensemble actuel est égal à un autre ; sinon, false.