Share via


IReadOnlySet.SetEquals(IEnumerable) Method

Definition

Check if this set contains the same and only the same elements as other.

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

Parameters

other
IEnumerable

The sequence to check against.

Returns

True if this set contains the same and only the same elements as other; otherwise false.

Applies to