Windows Dev Center

ContainerCmdletProvider.GetChildItemsDynamicParameters Method

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)

Dim path As String
Dim recurse As Boolean
Dim returnValue As Object

returnValue = Me.GetChildItemsDynamicParameters(path, recurse)

protected virtual Object GetChildItemsDynamicParameters (
	string path,
	bool recurse
protected Object GetChildItemsDynamicParameters (
	String path, 
	boolean recurse
protected function GetChildItemsDynamicParameters (
	path : String, 
	recurse : boolean
) : Object



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


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

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.

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

© 2015 Microsoft