Returns an enumerator that can iterate through the queue.
Note that due to the way C# 2.0 iterators work, we cannot spot changes
to the queue after the enumerator was fetched but before MoveNext() is first
called.
Namespace: MonoSoftware.Core.CollectionsAssembly: MonoSoftware.Core (in MonoSoftware.Core.dll) Version: 1.0.40.669 (1.0.40.669)
Syntax
C# |
---|
public IEnumerator<T> GetEnumerator() |
Visual Basic |
---|
Public Function GetEnumerator As IEnumerator(Of T) |
Visual C++ |
---|
public:
virtual IEnumerator<T>^ GetEnumerator() sealed |
F# |
---|
abstract GetEnumerator : unit -> IEnumerator<'T>
override GetEnumerator : unit -> IEnumerator<'T> |
Return Value
Type:
IEnumerator<(Of <(<'T>)>)>Returns an enumerator for the entire queue.
Implements
IEnumerable<(Of <(<'T>)>)>..::..GetEnumerator()()()()See Also