Export (0) Print
Expand All

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 abstract class ItemCmdletProvider : 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

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