TransactedRegistryKey.SetValue Method (String, Object)

Sets the value with the specified data. This method is introduced in Windows PowerShell 2.0.

Namespace: Microsoft.PowerShell.Commands.Internal
Assembly: System.Management.Automation (in System.Management.Automation.dll)

Dim instance As TransactedRegistryKey
Dim name As String
Dim value As Object

instance.SetValue(name, value)

public void SetValue (
	string name,
	Object value
public void SetValue (
	String name, 
	Object value
public function SetValue (
	name : String, 
	value : Object



The name of value to store the data in.


The data to be stored.

This topic is included in this SDK for completeness only.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


Target Platforms