ImmutableSortedSet<T>.Builder.SetEquals(IEnumerable<T>) ImmutableSortedSet<T>.Builder.SetEquals(IEnumerable<T>) ImmutableSortedSet<T>.Builder.SetEquals(IEnumerable<T>) ImmutableSortedSet<T>.Builder.SetEquals(IEnumerable<T>) Method

定义

确定当前集与指定的集合是否包含相同的元素。Determines whether the current 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> IEnumerable<T> IEnumerable<T> IEnumerable<T>

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

返回

如果当前集等于 other,则为 true;否则为 falsetrue if the current set is equal to other; otherwise, false.

实现

适用于