ItemCmdletProvider Class

Serves as a base class for providers that expose an item as a Windows PowerShell path.

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

Dim instance As ItemCmdletProvider

public ref class ItemCmdletProvider abstract : public DriveCmdletProvider
public abstract class ItemCmdletProvider extends DriveCmdletProvider
public abstract class ItemCmdletProvider extends DriveCmdletProvider

This class supplies operations that are appropriate for individual items such as the get, set, and clear item operations, along with the ability to invoke (or execute) items. It does not assume any container or navigation ability.

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.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


Target Platforms

© 2015 Microsoft