Windows Dev Center

IContentCmdletProvider Interface

Defines the methods used to read or write content for a specific item. Content from an item is read using content readers, and content is written to an item using content writers.


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

'Usage
Dim instance As IContentCmdletProvider

public interface class IContentCmdletProvider
public interface IContentCmdletProvider
public interface IContentCmdletProvider

In this context, an item is something that contains content within a data store. For example, the FileSystem provider (provided by Windows PowerShell) exposes the contents of a file through a content reader and a content writer.

Developers should implement this interface under the following conditions.

For more information about providers, see Windows PowerShell Providers.

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


Show:
© 2015 Microsoft