Breyta

Deila með


IImmutableQueue<T>.Peek Method

Definition

Returns the element at the beginning of the immutable queue without removing it.

public:
 T Peek();
public T Peek ();
abstract member Peek : unit -> 'T
Public Function Peek () As T

Returns

T

The element at the beginning of the queue.

Exceptions

The queue is empty.

Applies to