IContentReader IContentReader IContentReader Interface


A Cmdlet provider that implements the IContentCmdletProvider interface must provide an object that implements this interface when GetContentReader() is called.

The interface allows for reading content from an item.

public interface IContentReader : IDisposable
type IContentReader = interface
    interface IDisposable
Public Interface IContentReader
Implements IDisposable


Close() Close() Close()

Closes the reader. Further reads should fail if the reader has been closed.

Read(Int64) Read(Int64) Read(Int64)

Reads the content from the item.

Seek(Int64, SeekOrigin) Seek(Int64, SeekOrigin) Seek(Int64, SeekOrigin)

Moves the current "block" to be read to a position relative to a place in the reader.

Applies to