[This is preliminary documentation and is subject to change.]
Returns the object at the beginning of the queue without removing it.
Namespace:
Phoenix.CollectionsAssembly: 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
Exception | Condition |
---|---|
System..::.InvalidOperationException | The queue is empty. |