IReadOnlySet<T>.IsSubsetOf(IEnumerable<T>) Méthode

Définition

Déterminez si l’ensemble actuel est un sous-ensemble d’une collection spécifiée.

public:
 bool IsSubsetOf(System::Collections::Generic::IEnumerable<T> ^ other);
public bool IsSubsetOf (System.Collections.Generic.IEnumerable<T> other);
abstract member IsSubsetOf : seq<'T> -> bool
Public Function IsSubsetOf (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 d’autres ; sinon, false.

Exceptions

other a la valeur null.

S’applique à