Returns an enumerator that iterates through the set.

Namespace: Iesi.Collections
Assembly: Iesi.Collections (in Iesi.Collections.dll) Version: 1.0.1.0 (3.2.0.4000)

Syntax

C#
public override sealed IEnumerator GetEnumerator()
Visual Basic
Public Overrides NotOverridable Function GetEnumerator As IEnumerator
Visual C++
public:
virtual IEnumerator^ GetEnumerator() override sealed

Return Value

An IEnumerator object that can be used to iterate through the set.

Implements

IEnumerable..::..GetEnumerator()()()()

Remarks

Enumeration is, by definition, not thread-safe. Use a lock on the SyncRoot to synchronize the entire enumeration process.

See Also