Прочитај на енглеском

Делите путем


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.

C++
public interface class IContentReader : 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

Производ Верзије
PowerShell SDK 7.2.0, 7.3.0, 7.4.0
Windows PowerShell 5.1.0.0