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)

Dim instance As ContainerCmdletProvider

public abstract class ContainerCmdletProvider : 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

Windows 98, Windows 2000, Windows 2000 Server, Windows CE, Windows Server 2008, Windows 98 Second Edition, Pocket PC, Smart Phone, Windows Server 2003, Windows XP Professional, Windows Vista, Windows Server 2003 R2, Windows XP, Windows 7, Windows 2008 R2, Windows Developer Preview, Windows Server Developer Preview

Send comments about this topic to Microsoft.
© 2014 Microsoft