IDynamicPropertyCmdletProvider.RenamePropertyDynamicParameters Method

Definition

Gives the provider an opportunity to attach additional parameters to the rename-itemproperty cmdlet.

public:
 System::Object ^ RenamePropertyDynamicParameters(System::String ^ path, System::String ^ sourceProperty, System::String ^ destinationProperty);

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

Overrides of this method should return an object that has properties and fields decorated with parsing attributes similar to a cmdlet class or a RuntimeDefinedParameterDictionary.

The default implementation returns null. (no additional parameters)

Applies to