IContentReader Interface

Defines the methods used to read the content of items in the data store.

Namespace: System.Management.Automation.Provider
Assembly: System.Management.Automation (in System.Management.Automation.dll)

Dim instance As IContentReader

public interface class IContentReader : IDisposable
public interface IContentReader extends IDisposable
public interface IContentReader extends IDisposable

A provider must provide an object that implements this interface when the GetContentReader method is called to read content from the specified items of the data store.

For more information about implementing a content writer, see IContentWriter.

Windows PowerShell provides a TemplateProvider.cs file that is available on the Windows SDK. To start writing your own provider make a copy of this file and use that copy to create your provider, removing any functionality that you do not need. For more information about designing a provider, see Designing Your Windows PowerShell Provider.


Target Platforms

© 2014 Microsoft