[This is preliminary documentation and is subject to change.]

Returns the object at the beginning of the queue without removing it.

Namespace:  Phoenix.Collections
Assembly:  PhoenixShared (in PhoenixShared.dll) Version: 0.7.0.0

Syntax

         
 C#  Visual Basic  Visual C++ 
public virtual T Peek()
Public Overridable Function Peek As T
public:
virtual T Peek()

Return Value

The object at the beginning of the queue.

Exceptions

ExceptionCondition
System..::.InvalidOperationExceptionThe queue is empty.

See Also