แก้ไข

แชร์ผ่าน


ImmutableSortedSet<T>.IsProperSupersetOf(IEnumerable<T>) Method

Definition

Determines whether the current immutable sorted set is a proper superset of a specified collection.

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

Parameters

other
IEnumerable<T>

The collection to compare to the current set.

Returns

true if the current set is a proper superset of other; otherwise, false.

Implements

Remarks

An empty set is a proper superset of any other collection. Therefore, this method returns true if the collection represented by the other parameter is empty, unless the current set is also empty.

System.Collections.Immutable NuGet package

About immutable collections and how to install

Applies to