Updated: April 27, 2016
Applies To: Windows PowerShell
Defines the methods used to read the content of items in the data store.
Assembly: System.Management.Automation (in System.Management.Automation.dll)
Closes the content reader.
(Inherited from IDisposable.)
Reads the specified number of data blocks from the item specified in the GetContentReader call.
Moves the content reader the supplied number of blocks relative to the specified origin.
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 [ps].