Partager via


RegistryProvider.ClearPropertyDynamicParameters Method

Definition

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

public:
 virtual System::Object ^ ClearPropertyDynamicParameters(System::String ^ path, System::Collections::ObjectModel::Collection<System::String ^> ^ propertyToClear);
public object ClearPropertyDynamicParameters (string path, System.Collections.ObjectModel.Collection<string> propertyToClear);
override this.ClearPropertyDynamicParameters : string * System.Collections.ObjectModel.Collection<string> -> obj
Public Function ClearPropertyDynamicParameters (path As String, propertyToClear As Collection(Of 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.

propertyToClear
Collection<String>

The name of the property to clear.

Returns

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

Implements

Applies to