Windows Dev Center

Collapse the table of content
Expand the table of content
Expand Minimize
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.

IDynamicPropertyCmdletProvider.MovePropertyDynamicParameters Method

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


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

'Usage
Dim instance As IDynamicPropertyCmdletProvider
Dim sourcePath As String
Dim sourceProperty As String
Dim destinationPath As String
Dim destinationProperty As String
Dim returnValue As Object

returnValue = instance.MovePropertyDynamicParameters(sourcePath, sourceProperty, destinationPath, destinationProperty)

Object MovePropertyDynamicParameters (
	string sourcePath,
	string sourceProperty,
	string destinationPath,
	string destinationProperty
)
Object MovePropertyDynamicParameters (
	String sourcePath, 
	String sourceProperty, 
	String destinationPath, 
	String destinationProperty
)
function MovePropertyDynamicParameters (
	sourcePath : String, 
	sourceProperty : String, 
	destinationPath : String, 
	destinationProperty : String
) : Object

Parameters

sourcePath

The path to the item whose property is to be moved.

sourceProperty

The name of the property to be moved.

destinationPath

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

destinationProperty

The name of the moved property.

Return Value

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

The provider engine calls this method before the MoveProperty method to dynamically add parameters to the Move-ItemProperty cmdlet. The Object 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.


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