Compartir a través de


RegistryTools.SetRegistryFromLocalMachineRoot Método

Definición

Establece un valor en el Registro de la raíz HKLM.

public bool SetRegistryFromLocalMachineRoot(string regKeyPath, string regKeyName, object value, bool use64Bit = false);
abstract member SetRegistryFromLocalMachineRoot : string * string * obj * bool -> bool
override this.SetRegistryFromLocalMachineRoot : string * string * obj * bool -> bool
Public Function SetRegistryFromLocalMachineRoot (regKeyPath As String, regKeyName As String, value As Object, Optional use64Bit As Boolean = false) As Boolean

Parámetros

regKeyPath
String

Ruta de acceso a la clave del Registro en la clave de formato\subclave\subclave

regKeyName
String

Nombre de variable en la clave

value
Object

valor que se va a establecer

use64Bit
Boolean

opcional, si se establece en true, usa el Registro de 64 bits; de lo contrario, el valor predeterminado es 32 bits.

Devoluciones

true si se establece o false si se produce un error

Implementaciones

Se aplica a