IDynamicPropertyCmdletProvider.RenamePropertyDynamicParameters Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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);
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);
public object? RenamePropertyDynamicParameters (string path, string sourceProperty, string destinationProperty);
abstract member 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
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)