Skip to content

2d4d4d1c c039 49cb 3d72 0f442b5fceab

Axel Kesseler edited this page Mar 1, 2023 · 16 revisions

ObservableQueue(TItem).Peek Method

Returns the item at the beginning of the queue but without removing it.

Namespace: Plexdata.LogWriter.Queuing
Assembly: Plexdata.LogWriter.Abstraction (in Plexdata.LogWriter.Abstraction.dll) Version: 1.0.7.1

Syntax

C#

public TItem Peek()

Return Value

Type: TItem
The top item of the queue.

Implements

IObservableQueue(TItem).Peek()

Remarks

This method peeks the top item of the queue and returns it.

The default value of type TItem is returned if the queue is empty.

See Also

Reference

ObservableQueue(TItem) Class
Plexdata.LogWriter.Queuing Namespace
IObservableQueue(TItem).Dequeue()
IObservableQueue(TItem).IsEmpty

Clone this wiki locally