ISet<T>.SetEquals(IEnumerable<T>) メソッド

定義

現在のセットと指定されたコレクションに同じ要素が存在するかどうかを判断します。

public:
 bool SetEquals(System::Collections::Generic::IEnumerable<T> ^ other);
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>

現在のセットと比較するコレクション。

戻り値

現在のセットが other と等しい場合は true。それ以外の場合は false

例外

othernullです。

注釈

このメソッドは、 内の要素と重複する要素の順序を other無視します。

適用対象