IReadOnlySet.IsSubsetOf(IEnumerable) 方法

定義

檢查這個集合是否是其他集合的子集。

public bool IsSubsetOf(System.Collections.IEnumerable other);
abstract member IsSubsetOf : System.Collections.IEnumerable -> bool
Public Function IsSubsetOf (other As IEnumerable) As Boolean

參數

other
IEnumerable

要檢查的序列。

傳回

若此集合是其他集合的子集,則為真;否則為假。

適用於