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>

要與目前資料組比較的集合。

傳回

如果目前資料集是 other 的正確超集,則為 true,否則為 false

實作

備註

空白集合是任何其他集合的適當超集合。 因此,如果 參數所代表的集合是空的 other ,除非目前的集合也是空的,否則這個方法會傳回 true

System.Collections.Immutable NuGet 套件

關於不可變的集合以及如何安裝

適用於