Queue Members
The following tables list the members exposed by the Queue type.
Public Constructors
Name | Description | |
---|---|---|
Queue | Initializes a new instance of the Queue class that is empty, that has the default initial capacity, and that uses the default growth factor. |
Public Properties
Name | Description | |
---|---|---|
Count | Gets the number of elements contained in the Queue. | |
IsSynchronized | Gets a value indicating whether access to the ArrayList collection is synchronized. | |
SyncRoot | Gets an object that can be used to synchronize access to the Queue. |
Public Methods
Name | Description | |
---|---|---|
Clear | Removes all objects from the Queue. | |
Clone | Creates a shallow copy of the Queue. | |
Contains | Determines whether an element is in the Queue. | |
CopyTo | Copies the Queue elements to an existing one-dimensional Array starting at the specified array index. | |
Dequeue | Removes the object at the beginning of the Queue, and returns it. | |
Enqueue | Adds an object to the end of the Queue. | |
Equals | (Inherited from Object.) | |
GetEnumerator | Returns an enumerator that iterates through the Queue. | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
Peek | Returns the object at the beginning of the Queue without removing it. | |
ReferenceEquals | (Inherited from Object.) | |
ToArray | Copies the Queue elements to a new array. | |
ToString | (Inherited from Object.) |
Protected Methods
Name | Description | |
---|---|---|
Finalize | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) |