[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Type Parameters
- T
Provides a priority queue.
The following tables list the members exposed by the PriorityQueue<(Of T>) generic type.
Public Methods
| Name | Description | |
|---|---|---|
| Clear | Removes all elements from the queue. | |
| Contains | Determines whether an element is in the queue. | |
| CopyTo | Copies the entire queue to a compatible one-dimensional array, starting at the specified index of the target array. | |
| Dequeue | Pops the smallest element from the queue. | |
| Enqueue | Pushes an element onto the queue. | |
| Equals | (Inherited from Object.) | |
| GetEnumerator | Returns an IEnumerator<(Of T>) that iterates through the queue. | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| Peek | Returns the smallest element in the queue, without removing it from the queue. | |
| Remove | Removes the first occurence of a specific object from the queue. | |
| ToString | (Inherited from Object.) |
Protected Methods
| Name | Description | |
|---|---|---|
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
Public Constructors
| Name | Description | |
|---|---|---|
| PriorityQueue<(Of T>)New | Overloaded. |
Public Properties
| Name | Description | |
|---|---|---|
| Count | Gets the number of elements in the queue. | |
| IsReadOnly | Gets a value indicating whether the queue is read-only. | |
| IsSynchronized | Gets a value indicating whether access to the queue is synchronized (thread safe). |