Freigeben über


IContentReader Interface

Definition

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 class IContentReader : IDisposable
public interface IContentReader : IDisposable
type IContentReader = interface
    interface IDisposable
Public Interface IContentReader
Implements IDisposable
Derived
Implements

Methods

Close()

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

Read(Int64)

Reads the content from the item.

Seek(Int64, SeekOrigin)

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

Applies to