Export (0) Print
Expand All

ImmutableHashSet<T>.IsProperSubsetOf Method

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
)

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 proper subset of the specified collection; otherwise, false.

Implements

IImmutableSet<T>.IsProperSubsetOf(IEnumerable<T>)
ISet<T>.IsProperSubsetOf(IEnumerable<T>)

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

Show:
© 2014 Microsoft