ContainerCmdletProvider Class

Serves as a base class for providers that allow the user to manage items that are containers. A container is a group of child items under a common parent item.


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

'Usage
Dim instance As ContainerCmdletProvider

'Declaration
Public MustInherit Class ContainerCmdletProvider
	Inherits ItemCmdletProvider
public abstract class ContainerCmdletProvider extends ItemCmdletProvider
public abstract class ContainerCmdletProvider extends ItemCmdletProvider

Developers should derive from this class to implement a provider that supports the following provider cmdlets.

When deriving from this class, override the following methods so that the semantics of a container are logical.

All of the previous methods, except HasChildItems, have additional overrides for dynamic parameters.

In addition, this class provides virtual methods for renaming, creating, copying, and removing items.

For more information about implementing providers (including samples), see Writing a 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


Show:
© 2015 Microsoft