Delen via


IDynamicPropertyCmdletProvider.RemovePropertyDynamicParameters Method

Definition

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

public:
 System::Object ^ RemovePropertyDynamicParameters(System::String ^ path, System::String ^ propertyName);
public:
 Platform::Object ^ RemovePropertyDynamicParameters(Platform::String ^ path, Platform::String ^ propertyName);
winrt::Windows::Foundation::IInspectable RemovePropertyDynamicParameters(std::wstring const & path, std::wstring const & propertyName);
public object RemovePropertyDynamicParameters (string path, string propertyName);
abstract member RemovePropertyDynamicParameters : string * string -> obj
Public Function RemovePropertyDynamicParameters (path As String, propertyName 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.

propertyName
String

The name of the property that should be removed.

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