IReadOnlySet.SetEquals(IEnumerable) 方法

定義

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

public bool SetEquals(System.Collections.IEnumerable other);
abstract member SetEquals : System.Collections.IEnumerable -> bool
Public Function SetEquals (other As IEnumerable) As Boolean

參數

other
IEnumerable

要檢查的序列。

傳回

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

適用於