Click or drag to resize

PriorityQueue<T> .RemoveAt Method

Removes the PriorityQueue<T> item at the specified index.

Namespace: GSF.Collections
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.241-beta+912389e96d98840d2a999d490420db618dcbe4c6
Syntax
public void RemoveAt(
	int index
)
View Source

Parameters

index  Int32
The zero-based index of the item to remove.

Implements

IList<T>.RemoveAt(Int32)
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionindex is not a valid index in the PriorityQueue<T>.
Remarks
After removing an item from the queue, the heap will need to be fixed, therefore this is an O(log n) operation.
See Also