Partager via


RegistryProvider.CopyProperty(String, String, String, String) Method

Definition

Copies a property of the item at the specified path to a new property on the destination path.

public:
 virtual void CopyProperty(System::String ^ sourcePath, System::String ^ sourceProperty, System::String ^ destinationPath, System::String ^ destinationProperty);
public:
 void CopyProperty(Platform::String ^ sourcePath, Platform::String ^ sourceProperty, Platform::String ^ destinationPath, Platform::String ^ destinationProperty);
void CopyProperty(std::wstring const & sourcePath, std::wstring const & sourceProperty, std::wstring const & destinationPath, std::wstring const & destinationProperty);
public void CopyProperty (string sourcePath, string sourceProperty, string destinationPath, string destinationProperty);
override this.CopyProperty : string * string * string * string -> unit
Public Sub CopyProperty (sourcePath As String, sourceProperty As String, destinationPath As String, destinationProperty As String)

Parameters

sourcePath
String

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

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.

Implements

Applies to