Partager via


RegistryProvider.RenamePropertyDynamicParameters Method

Definition

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

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

Parameters

path
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 property to rename.

destinationProperty
String

The new name of the property.

Returns

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

Implements

Applies to