RegistryProvider.SetProperty(String, PSObject) 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.
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.