ImmutableSortedSet<T>.Builder.IsProperSubsetOf(IEnumerable<T>) 方法

定义

确定当前集是否为指定集合的真(严格)子集。Determines whether the current set is a proper (strict) subset of a specified collection.

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>

要与当前集进行比较的集合。The collection to compare to the current set.

返回

Boolean

如果当前集是 other 的真子集,则为 true;否则为 falsetrue if the current set is a proper subset of other; otherwise, false.

实现

适用于