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

定义

确定当前不可变排序集与指定的集合是否包含相同的元素。

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>

要与当前集进行比较的集合。

返回

如果集相等,则为 true;否则为 false

实现

注解

System.Collections.Immutable NuGet 包

关于不可变集合以及如何安装

适用于