Click or drag to resize

PriorityQueueTGetEnumerator Method

Returns an enumerator that iterates through the collection.

Namespace: GSF.Collections
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.218-beta+101eee949414e414795e55a6e73d88938f0177b8
Syntax
public IEnumerator<T> GetEnumerator()
View Source

Return Value

IEnumeratorT
A IEnumeratorT that can be used to iterate through the collection.

Implements

IEnumerableTGetEnumerator
Remarks
The enumerator performs an in-order traversal of the heap, so the caller should expect that items will be iterated in no particular order. Any operations that would modify the collection during iteration will cause the enumerator to throw an InvalidOperationException.
See Also