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

定義

檢查這組是否包含與其他集合相同或僅相同的元素。

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

參數

other
IEnumerable<T>

要檢查的序列。

傳回

若此集合包含與其他集合相同且僅相同的元素,則為真;否則為假。

適用於