Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ImmutableSortedSet<T>::IsSubsetOf Method (IEnumerable<T>^)

 

Determines whether the current immutable sorted set is a subset of a specified collection.

Namespace:   System.Collections.Immutable
Assembly:  System.Collections.Immutable (in System.Collections.Immutable.dll)

public:
virtual bool IsSubsetOf(
	IEnumerable<T>^ other
) sealed

Parameters

other
Type: System.Collections.Generic::IEnumerable<T>^

The collection to compare to the current set.

Return Value

Type: System::Boolean

true if the current set is a subset of other; otherwise, false.

An empty set is a subset of any other set, including another empty set. Therefore, this method returns true if the current set is empty, even if the other collection is also empty.

NuGet package: System.Collections.Immutable (about immutable collections and how to install)

Return to top
Show:
© 2017 Microsoft