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.

IDynamicPropertyCmdletProvider.CopyPropertyDynamicParameters Method (String, String, String, String)


Updated: April 27, 2016

Applies To: Windows PowerShell

Returns any dynamic parameters required by the Copy-ItemProperty cmdlet.

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

object CopyPropertyDynamicParameters(
	string sourcePath,
	string sourceProperty,
	string destinationPath,
	string destinationProperty


Type: System.String

The path to item whose property is to be copied.

Type: System.String

The name of the property to be copied.

Type: System.String

The path to the item where the property is copied to.

Type: System.String

The name of the copied property.

Return Value

Type: System.Object

An Object object that contains the dynamic parameters for the Copy-ItemProperty cmdlet.

The provider engine calls this method before the CopyProperty method to dynamically add parameters to the Copy-ItemProperty cmdlet. The Object returned by this method can be any CLR object that has properties or fields tagged as parameters or a pseudo-parameter collection that allows additional parameters to be defined at runtime.

In this context, an "item" is something that contains content within a data store. For example, the items of the file system data store could be files or directories.

Return to top

Community Additions