Windows Dev Center

ContainerCmdletProvider.RemoveItemDynamicParameters Method

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)

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

returnValue = Me.RemoveItemDynamicParameters(path, recurse)

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

Parameters

path

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

recurse

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

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.


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


Show:
© 2015 Microsoft