Windows desktop applications
Collapse the table of content
Expand the table of content
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.GetChildItemsDynamicParameters Method (String, Boolean)


Updated: April 27, 2016

Applies To: Windows PowerShell

Returns any additional parameters that are required by this implementation of the Get-ChildItem cmdlet.

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

protected virtual object GetChildItemsDynamicParameters(
	string path,
	bool recurse


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.

Type: System.Boolean

true if all children should be retrieved, false if only a single level of children should be retrieved.

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.

A provider can implement this method in order to add parameters to the Get-ChildItem cmdlet beyond those parameters that are common across all other providers.

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

Return to top

Community Additions

© 2016 Microsoft