IsProperSubsetOf Method

ImmutableHashSet<T>.IsProperSubsetOf Method (IEnumerable<T>)


Determines whether the current immutable hash set is a proper (strict) subset of a specified collection.

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

public bool IsProperSubsetOf(
	IEnumerable<T> 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 proper subset of the specified collection; otherwise, false.

If the current set is a proper subset of other, other must have at least one element that the current set does not have.

Return to top
© 2016 Microsoft