Language

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

定義

現在のセットが、指定したコレクションのスーパーセットであるかどうかを判断します。

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

パラメーター

other
IEnumerable<T>

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

戻り値

現在のセットが のスーパーセットである場合は a0/& 。それ以外の場合は。

例外

other は nullです。

注釈

other現在のセットと同じ要素が含まれている場合、現在のセットは引き続きotherのスーパーセットと見なされます。

現在のセットの要素数が false より少ない場合、このメソッドは常にotherを返します。

適用対象