RegistryTools.GetRegistryValueNamesFromLocalMachineRoot 方法

定義

取得 HKLM 根登錄中機碼下所有值的名稱。

public string[] GetRegistryValueNamesFromLocalMachineRoot (string regKeyPath, bool use64Bit = false);
abstract member GetRegistryValueNamesFromLocalMachineRoot : string * bool -> string[]
override this.GetRegistryValueNamesFromLocalMachineRoot : string * bool -> string[]
Public Function GetRegistryValueNamesFromLocalMachineRoot (regKeyPath As String, Optional use64Bit As Boolean = false) As String()

參數

regKeyPath
String

格式機碼\subkey\subsubkey 的登錄機碼路徑

use64Bit
Boolean

如果為 true,則會使用 64 位登錄,否則會使用 32 位

傳回

String[]

值名稱或空白的陣列

實作

適用於