This documentation is archived and is not being maintained.
Represents a first-in, first-out collection of objects.
The following tables list the members exposed by the Queue generic type.
(see also Protected Methods )
|Clear||Removes all objects from 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 and returns the object at the beginning of the Queue.|
|Enqueue||Adds an object to the end of the Queue.|
|Equals||Overloaded. Determines whether two Object instances are equal. (inherited from Object)|
|GetEnumerator||Returns an enumerator 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 object at the beginning of the Queue without removing it.|
|ReferenceEquals||Determines whether the specified Object instances are the same instance. (inherited from Object)|
|ToArray||Copies the Queue elements to a new array.|
|ToString||Returns a String that represents the current Object. (inherited from Object)|
|TrimExcess||Sets the capacity to the actual number of elements in the Queue, if that number is less than 90 percent of current capacity.|
|System.Collections.Generic.IEnumerable<T>.GetEnumerator||Returns an enumerator that iterates through a collection.|
|System.Collections.ICollection.CopyTo||Copies the elements of the ICollection to an Array, starting at a particular Array index.|
|System.Collections.IEnumerable.GetEnumerator||Returns an enumerator that iterates through a collection.|
|System.Collections.ICollection.IsSynchronized||Gets a value indicating whether access to the ICollection is synchronized (thread safe).|
|System.Collections.ICollection.SyncRoot||Gets an object that can be used to synchronize access to the ICollection.|