共用方式為


RegistryProvider.RenameProperty(String, String, String) Method

Definition

Renames a property of the item at the specified path.

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

Parameters

path
String

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

sourceProperty
String

The property to rename.

destinationProperty
String

The new name of the property.

Implements

Applies to