IContentWriter IContentWriter IContentWriter Interface


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 IContentWriter : IDisposable
type IContentWriter = interface
    interface IDisposable
Public Interface IContentWriter
Implements IDisposable


Close() Close() Close()

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

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

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

Write(IList) Write(IList) Write(IList)

Writes content to the item.

Applies to