RegistryTools.SetRegistryFromLocalMachineRoot Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
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