ImmutableSortedSet<T>.IsProperSupersetOf(IEnumerable<T>) Méthode

Définition

Détermine si l’ensemble trié immuable actuel est un sur-ensemble approprié de la collection spécifiée.

public:
 virtual bool IsProperSupersetOf(System::Collections::Generic::IEnumerable<T> ^ other);
public bool IsProperSupersetOf (System.Collections.Generic.IEnumerable<T> other);
abstract member IsProperSupersetOf : seq<'T> -> bool
override this.IsProperSupersetOf : seq<'T> -> bool
Public Function IsProperSupersetOf (other As IEnumerable(Of T)) As Boolean

Paramètres

other
IEnumerable<T>

Collection à comparer à l’ensemble actuel.

Retours

Boolean

true si l’ensemble actuel est un sur-ensemble approprié de other ; sinon, false.

Implémente

Remarques

Un ensemble vide est un super-ensemble approprié de n’importe quelle autre collection. Par conséquent, cette méthode retourne true si la collection représentée par le other paramètre est vide, sauf si l’ensemble actuel est également vide.

Package de NuGet System.Collections.Immutable

À propos des collections immuables et de la façon d’installer

S’applique à