Partager via


RegistryProvider.SetProperty(String, PSObject) Method

Definition

Sets the specified properties of the item at the specified path.

public:
 virtual void SetProperty(System::String ^ path, System::Management::Automation::PSObject ^ propertyValue);
public void SetProperty (string path, System.Management.Automation.PSObject propertyValue);
override this.SetProperty : string * System.Management.Automation.PSObject -> unit
Public Sub SetProperty (path As String, propertyValue As PSObject)

Parameters

path
String

The path to the item to set the properties on.

propertyValue
PSObject

A PSObject which contains a collection of the name, type, value of the properties to be set.

Implements

Applies to