Click or drag to resize

PriorityQueueTRemoveAt Method

Removes the PriorityQueueT item at the specified index.

Namespace: GSF.Collections
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.256-beta+0e7e94d39a9b10efe7e26e3b8d5130afc0dd4d74
Syntax
public void RemoveAt(
	int index
)
View Source

Parameters

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

Implements

IListTRemoveAt(Int32)
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionindex is not a valid index in the PriorityQueueT.
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