ImmutableSortedSet<T>.IsProperSupersetOf(IEnumerable<T>) メソッド

定義

現在の変更できない並べ替えられたセットが、指定されたコレクションの真のスーパーセットであるかどうかを判断します。

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

パラメーター

other
IEnumerable<T>

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

戻り値

Boolean

現在のセットが other の真のスーパーセットの場合は true。それ以外の場合は false

実装

注釈

空のセットは、他のコレクションの適切なスーパーセットです。 したがって、このメソッドは、現在の true セットも空でない限り、パラメーターで other 表されるコレクションが空の場合に返します。

System.Collections.Immutable NuGet パッケージ

不変コレクションとインストール方法について

適用対象