OrderedSet<(Of <(<'T>)>)>..::..IsDisjointFrom Method
Determines if this set is disjoint from another set. Two sets are disjoint
if no item from one set is equal to any item in the other set.
Namespace:
Wintellect.PowerCollections
Assembly:
PowerCollections (in PowerCollections.dll)
Syntax
public bool IsDisjointFrom( OrderedSet<T> otherSet )
Public Function IsDisjointFrom ( _ otherSet As OrderedSet(Of T) _ ) As Boolean
public: bool^ IsDisjointFrom( OrderedSet<T>^ otherSet )
Parameters
- otherSet
- Type: Wintellect.PowerCollections..::..OrderedSet<(Of <(<'T>)>)>
Set to check disjointness with.
Return Value
True if the two sets are disjoint, false otherwise.Exceptions
Exception | Condition |
---|---|
InvalidOperationException | This set and otherSet don't use the same method for comparing items. |