ImmutableSortedSet<T>.Builder.IsSubsetOf(IEnumerable<T>) ImmutableSortedSet<T>.Builder.IsSubsetOf(IEnumerable<T>) ImmutableSortedSet<T>.Builder.IsSubsetOf(IEnumerable<T>) ImmutableSortedSet<T>.Builder.IsSubsetOf(IEnumerable<T>) Method

定义

确定当前集是否为指定集合的子集。Determines whether the current set is a subset of a specified collection.

public:
 virtual bool IsSubsetOf(System::Collections::Generic::IEnumerable<T> ^ other);
public bool IsSubsetOf (System.Collections.Generic.IEnumerable<T> other);
abstract member IsSubsetOf : seq<'T> -> bool
override this.IsSubsetOf : seq<'T> -> bool
Public Function IsSubsetOf (other As IEnumerable(Of T)) As Boolean

参数

other
IEnumerable<T> IEnumerable<T> IEnumerable<T> IEnumerable<T>

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

返回

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

实现

适用于