다음을 통해 공유


IRegistryTools.GetRegistryIntValueFromLocalMachineRoot 메서드

정의

오버로드

GetRegistryIntValueFromLocalMachineRoot(String, String, Nullable<Int32>)

HKLM 루트 레지스트리에서 int 레지스트리 값을 가져옵니다.

GetRegistryIntValueFromLocalMachineRoot(String, String, Boolean, Nullable<Int32>)

HKLM 루트 레지스트리에서 int 레지스트리 값을 가져옵니다.

GetRegistryIntValueFromLocalMachineRoot(String, String, Nullable<Int32>)

HKLM 루트 레지스트리에서 int 레지스트리 값을 가져옵니다.

public int? GetRegistryIntValueFromLocalMachineRoot (string regKeyPath, string regKeyName, int? defaultOnError = default);
abstract member 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)

매개 변수

regKeyPath
String

key\subkey\subsubkey 형식의 레지스트리 키 경로

regKeyName
String

키 아래의 변수 이름

defaultOnError
Nullable<Int32>

오류의 기본값

반환

현재 값 또는 null(경우)

적용 대상

GetRegistryIntValueFromLocalMachineRoot(String, String, Boolean, Nullable<Int32>)

HKLM 루트 레지스트리에서 int 레지스트리 값을 가져옵니다.

public int? GetRegistryIntValueFromLocalMachineRoot (string regKeyPath, string regKeyName, bool use64Bit, int? defaultOnError = default);
abstract member 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)

매개 변수

regKeyPath
String

key\subkey\subsubkey 형식의 레지스트리 키 경로

regKeyName
String

키 아래의 변수 이름

use64Bit
Boolean

true이면 64비트 레지스트리를 사용하고, 그렇지 않으면 32비트 가 사용됩니다.

defaultOnError
Nullable<Int32>

오류의 기본값

반환

현재 값 또는 null(경우)

적용 대상