OrderedSet<(Of <(<'T>)>)>..::..IsProperSubsetOf Method
Determines if this set is a proper subset of another set. Neither set is modified.
This set is a subset of otherSet if every element in this set
is also in otherSet. Additionally, this set must have strictly
fewer items than otherSet.
Namespace:
Wintellect.PowerCollections
Assembly:
PowerCollections (in PowerCollections.dll)
Syntax
public bool IsProperSubsetOf( OrderedSet<T> otherSet )
Public Function IsProperSubsetOf ( _ otherSet As OrderedSet(Of T) _ ) As Boolean
public: bool^ IsProperSubsetOf( OrderedSet<T>^ otherSet )
Parameters
- otherSet
- Type: Wintellect.PowerCollections..::..OrderedSet<(Of <(<'T>)>)>
Set to compare to.
Return Value
True if this is a proper subset of otherSet.Exceptions
Exception | Condition |
---|---|
InvalidOperationException | This set and otherSet don't use the same method for comparing items. |