IImmutableSet<T>.IsProperSubsetOf(IEnumerable<T>) Méthode

Définition

Détermine si l’ensemble immuable actuel est un sous-ensemble approprié (strict) de la collection spécifiée.

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

Paramètres

other
IEnumerable<T>

Collection à comparer à l’ensemble actuel.

Retours

true si l’ensemble actuel est un sous-ensemble approprié de la collection spécifiée ; sinon, false.

Remarques

Si l’ensemble actuel est un sous-ensemble approprié de other, other doit avoir au moins un élément que le jeu actuel n’a pas.

S’applique à