次の方法で共有


PipelineReader<T>.Peek Method

Definition

Peek the next object, but do not remove it from the stream. Non-blocking.

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

Returns

T

The next object in the stream or AutomationNull.Value if the stream is empty

Exceptions

The stream is closed.

Applies to