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

定義

現在の変更できない並べ替えられたセットが、指定されたコレクションの真のサブセット (真部分集合) であるかどうかを判断します。

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

パラメーター

other
IEnumerable<T>

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

戻り値

現在のセットが other の真のサブセットの場合は true。それ以外の場合は false

実装

注釈

空のセットは、他のコレクションの適切なサブセットです。 したがって、コレクションも空でない限り、現在のセットが空の場合、このメソッドは をothertrueします。

System.Collections.Immutable NuGet パッケージ

変更できないコレクションとインストール方法について

適用対象