Share via


ObservableHashSet<T>.SetEquals(IEnumerable<T>) Method

Definition

Determines whether the hash set and the specified collection contain the same elements.

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

Parameters

other
IEnumerable<T>

The collection to compare to the current hash set.

Returns

true if the hash set is equal to other; otherwise, false.

Implements

Applies to