語言

ImmutableHashSet<T>.IsProperSubsetOf(IEnumerable<T>) 方法

定義

判斷目前的不可變哈希集是否為指定集合的適當 (strict) 子集。

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>

用來和現有的系列做比較。

傳回

true若當前集合是指定集合的真子集;否則,。 false

實作

備註

若當前集合是 的 other真子集, other 則必須至少有一個當前集合不存在的元素。

適用於