![Collapse image](collapse_all.gif)
![Expand Image](expand_all.gif)
![CollapseAll image](collall.gif)
![ExpandAll image](expall.gif)
![DropDown image](drpdown.gif)
![DropDownHover image](drpdown_orange.gif)
![Copy image](copycode.gif)
![CopyHover image](copycodeHighlight.gif)
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
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
C# |
---|
public bool IsEqualTo( OrderedSet<T> otherSet ) |
Visual Basic (Declaration) |
---|
Public Function IsEqualTo ( _ otherSet As OrderedSet(Of T) _ ) As Boolean |
Visual C++ |
---|
public: bool IsEqualTo ( OrderedSet<T>^ otherSet ) |
Parameters
- otherSet
- OrderedSet<(Of <T>)>
Set to compare to
Return Value
True if this set is equal to otherSet, false otherwise.
Remarks
IsEqualTo is computed in time O(N), where N is the number of items in
this set.
Exceptions
Exception | Condition |
---|---|
System..::InvalidOperationException | This set and otherSet don't use the same method for comparing items. |
See Also
OrderedSet<(Of <T>)> Class
Wintellect.PowerCollections Namespace