PipelineReader<T>.Peek Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.