Click or drag to resize

PriorityQueueT Methods

The PriorityQueueT type exposes the following members.

Methods
 NameDescription
Public methodAdjustFirstItem Indicates that the current first item of the PriorityQueueT was modified and its priority has to be re-evaluated.
Public methodCheckHeap Checks the heap. Used for debug purposes.
Public methodClear Removes all objects from the PriorityQueueT.
Public methodContains Determines whether an element is in the PriorityQueueT.
Public methodCopyTo Copies the PriorityQueueT elements to an existing one-dimensional Array, starting at the specified array index.
Public methodDequeue Removes and return the element with the lowest value from the PriorityQueueT.
Public methodEnqueue Adds an object to the PriorityQueueT.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetEnumerator Returns an enumerator that iterates through the values in the PriorityQueueT.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodPeek Return the object with the lowest value in the PriorityQueueT without removing it.
Public methodRemove Removes the specified item from the PriorityQueueT.
Public methodToArray Copies the PriorityQueueT elements to a new array.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodTrimExcess Sets the capacity to the actual number of elements in the PriorityQueueT, if that number is less than a threshold value.
Top
Extension Methods
 NameDescription
Public Extension MethodGetSequenceHashCodeT Gets the hash code for the specified sequence of elements.
(Defined by ListExtensions)
Public Extension MethodOrderByT, TKey Sorts the elements of a sequence in ascending or descending order according to a key.
(Defined by ListExtensions)
Public Extension MethodToDelimitedStringT Creates a string with the items of a list separated by a comma.
(Defined by ListExtensions)
Public Extension MethodToDelimitedStringT Creates a string with the items of a list separated by the specified delimiter.
(Defined by ListExtensions)
Top
See Also