ImmutableHashSet<T>.SetEquals(IEnumerable<T>) 方法

定义

确定当前不可变哈希集与指定的集合是否包含相同的元素。Determines whether the current immutable hash set and the specified collection contain the same elements.

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

参数

other
IEnumerable<T>

要与当前集进行比较的集合。The collection to compare to the current set.

返回

如果集相等,则为 true;否则为 falsetrue if the sets are equal; otherwise, false.

实现

适用于