Sandcastle XML Comments Guide
![]() | SetDocumentationSetEquals Method |
Determines whether the current set and the specified collection contain the same elements.
Namespace: XMLCommentsExamples.DocumentationInheritance
Assembly: XMLCommentsExamples (in XMLCommentsExamples.dll) Version: 2014.1.26.0

public bool SetEquals( IEnumerable<int> other )
Public Function SetEquals ( other As IEnumerable(Of Integer) ) As Boolean
public: virtual bool SetEquals( IEnumerable<int>^ other ) sealed
abstract SetEquals : other : IEnumerable<int> -> bool override SetEquals : other : IEnumerable<int> -> bool
Parameters
- other
- Type: System.Collections.GenericIEnumerableInt32
The collection to compare to the current set.
Return Value
Type: Booleantrue if the current set is equal to other; otherwise, false.
Implements
ISetTSetEquals(IEnumerableT)
Exception | Condition |
---|---|
ArgumentNullException | other is null. |
