ImmutableHashSet<T>.IsProperSupersetOf(IEnumerable<T>) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
判斷目前的不可變哈希集是否為指定集合的適當 (strict) 超集。
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>
用來和現有的系列做比較。
傳回
true如果目前集合是指定集合的真超集;否則,。 false
實作
備註
若當前集合是 的 other真超集,則該集合必須至少有一個 other 元素不包含。