Dela via


IContentWriter Interface

Definition

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

The interface allows for writing content to an item.

public interface class IContentWriter : IDisposable
public interface IContentWriter : IDisposable
type IContentWriter = interface
    interface IDisposable
Public Interface IContentWriter
Implements IDisposable
Derived
Implements

Methods

Close()

Closes the writer. Further writes should fail if the writer has been closed.

Seek(Int64, SeekOrigin)

Moves the current "block" to be written to a position relative to a place in the writer.

Write(IList)

Writes content to the item.

Applies to