IReadOnlySet.IsSubsetOf(IEnumerable) Method

Definition

Check if this set is a subset of other.

public bool IsSubsetOf (System.Collections.IEnumerable other);
abstract member IsSubsetOf : System.Collections.IEnumerable -> bool
Public Function IsSubsetOf (other As IEnumerable) As Boolean

Parameters

other
IEnumerable

The sequence to check against.

Returns

True if this set is a subset of other; otherwise false.

Applies to