OrderedSet<(Of <(<'T>)>)>..::..IsEqualTo Method
Determines if this set is equal to another set. This set is equal to
otherSet if they contain the same items.
Namespace:
Wintellect.PowerCollections
Assembly:
PowerCollections (in PowerCollections.dll)
Syntax
public bool IsEqualTo( OrderedSet<T> otherSet )
Public Function IsEqualTo ( _ otherSet As OrderedSet(Of T) _ ) As Boolean
public: bool^ IsEqualTo( OrderedSet<T>^ otherSet )
Parameters
- otherSet
- Type: Wintellect.PowerCollections..::..OrderedSet<(Of <(<'T>)>)>
Set to compare to
Return Value
True if this set is equal to otherSet, false otherwise.Exceptions
Exception | Condition |
---|---|
InvalidOperationException | This set and otherSet don't use the same method for comparing items. |