RegistryTools.GetRegistryIntValueFromLocalMachineRoot 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í.
Sobrecargas
| GetRegistryIntValueFromLocalMachineRoot(String, String, Nullable<Int32>) |
Obtenga el valor del Registro int del Registro raíz HKLM. |
| GetRegistryIntValueFromLocalMachineRoot(String, String, Boolean, Nullable<Int32>) |
Obtenga el valor del Registro int del Registro raíz HKLM. |
GetRegistryIntValueFromLocalMachineRoot(String, String, Nullable<Int32>)
Obtenga el valor del Registro int del Registro raíz HKLM.
public int? GetRegistryIntValueFromLocalMachineRoot(string regKeyPath, string regKeyName, int? defaultOnError = default);
abstract member GetRegistryIntValueFromLocalMachineRoot : string * string * Nullable<int> -> Nullable<int>
override this.GetRegistryIntValueFromLocalMachineRoot : string * string * Nullable<int> -> Nullable<int>
Public Function GetRegistryIntValueFromLocalMachineRoot (regKeyPath As String, regKeyName As String, Optional defaultOnError As Nullable(Of Integer) = Nothing) As Nullable(Of Integer)
Parámetros
- regKeyPath
- String
Ruta de acceso a la clave del Registro con el formato key\subclave\subsubkey
- regKeyName
- String
Nombre de variable bajo la clave
Devoluciones
valor actual o null en mayúsculas y minúsculas
Implementaciones
Se aplica a
GetRegistryIntValueFromLocalMachineRoot(String, String, Boolean, Nullable<Int32>)
Obtenga el valor del Registro int del Registro raíz HKLM.
public int? GetRegistryIntValueFromLocalMachineRoot(string regKeyPath, string regKeyName, bool use64Bit, int? defaultOnError = default);
abstract member GetRegistryIntValueFromLocalMachineRoot : string * string * bool * Nullable<int> -> Nullable<int>
override this.GetRegistryIntValueFromLocalMachineRoot : string * string * bool * Nullable<int> -> Nullable<int>
Public Function GetRegistryIntValueFromLocalMachineRoot (regKeyPath As String, regKeyName As String, use64Bit As Boolean, Optional defaultOnError As Nullable(Of Integer) = Nothing) As Nullable(Of Integer)
Parámetros
- regKeyPath
- String
Ruta de acceso a la clave del Registro con el formato key\subclave\subsubkey
- regKeyName
- String
Nombre de variable bajo la clave
- use64Bit
- Boolean
si es true, se usa el Registro de 64 bits; de lo contrario, se usan 32 bits.
Devoluciones
valor actual o null en mayúsculas y minúsculas