Windows desktop applications
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ContainerCmdletProvider.RemoveItemDynamicParameters Method (String, Boolean)

 

Updated: April 27, 2016

Applies To: Windows PowerShell

Returns any additional parameters required by this implementation of the Remove-Item cmdlet.

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

protected virtual object RemoveItemDynamicParameters(
	string path,
	bool recurse
)

Parameters

path
Type: System.String

If the path was specified on the command line, this is the path to the item to get the dynamic parameters for.

recurse
Type: System.Boolean

true if all children of the item should be removed, false if only a single level of children should be removed.

This parameter should be true only for a NavigationCmdletProvider derived class.

Return Value

Type: System.Object

An object that has properties and fields decorated with parsing attributes similar to a cmdlet class.

For more information about implementing providers (including samples), see Writing a Windows PowerShell Provider.

Return to top

Community Additions

Show:
© 2016 Microsoft