Udostępnij za pośrednictwem


RegistryProvider.CopyPropertyDynamicParameters Method

Definition

Gives the provider a chance to attach additional parameters to the copy-itemproperty cmdlet.

public:
 virtual System::Object ^ CopyPropertyDynamicParameters(System::String ^ sourcePath, System::String ^ sourceProperty, System::String ^ destinationPath, System::String ^ destinationProperty);
public:
 Platform::Object ^ CopyPropertyDynamicParameters(Platform::String ^ sourcePath, Platform::String ^ sourceProperty, Platform::String ^ destinationPath, Platform::String ^ destinationProperty);
winrt::Windows::Foundation::IInspectable CopyPropertyDynamicParameters(std::wstring const & sourcePath, std::wstring const & sourceProperty, std::wstring const & destinationPath, std::wstring const & destinationProperty);
public object CopyPropertyDynamicParameters (string sourcePath, string sourceProperty, string destinationPath, string destinationProperty);
override this.CopyPropertyDynamicParameters : string * string * string * string -> obj
Public Function CopyPropertyDynamicParameters (sourcePath As String, sourceProperty As String, destinationPath As String, destinationProperty As String) As Object

Parameters

sourcePath
String

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

sourceProperty
String

The name of the property to copy.

destinationPath
String

The path to the item on which to copy the property to.

destinationProperty
String

The destination property to copy to.

Returns

An object that has properties and fields decorated with parsing attributes similar to a cmdlet class.

Implements

Applies to