Export (0) Print
Expand All

Queue Members

Represents a first-in, first-out collection of objects.

The Queue type exposes the following members.

  NameDescription
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Queue Overloaded. Initializes a new instance of the Queue class.
Top

  NameDescription
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Clear Removes all objects from the Queue.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Clone Creates a shallow copy of the Queue.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Contains Determines whether an element is in the Queue.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework CopyTo Copies the Queue elements to an existing one-dimensional Array, starting at the specified array index.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Dequeue Removes and returns the object at the beginning of the Queue.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Enqueue Adds an object to the end of the Queue.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetEnumerator Returns an enumerator that iterates through the Queue.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetType Gets the type of the current instance. (Inherited from Object.)
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Peek Returns the object at the beginning of the Queue without removing it.
Public method Static member Synchronized Returns a Queue wrapper that is synchronized (thread safe).
Public method Supported by the .NET Compact Framework Supported by the XNA Framework ToArray Copies the Queue elements to a new array.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework ToString Returns a string that represents the current object. (Inherited from Object.)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework TrimToSize Sets the capacity to the actual number of elements in the Queue.
Top

  NameDescription
Public Extension Method AsQueryable Converts an IEnumerable to an IQueryable. (Defined by Queryable.)
Public Extension Method Cast Converts the elements of an IEnumerable to the specified type. (Defined by Enumerable.)
Public Extension Method OfType Filters the elements of an IEnumerable based on a specified type. (Defined by Enumerable.)
Top

  NameDescription
Public property Supported by the .NET Compact Framework Supported by the XNA Framework Count Gets the number of elements contained in the Queue.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework IsSynchronized Gets a value indicating whether access to the Queue is synchronized (thread safe).
Public property Supported by the .NET Compact Framework Supported by the XNA Framework SyncRoot Gets an object that can be used to synchronize access to the Queue.
Top

Community Additions

ADD
Show:
© 2014 Microsoft