共用方式為


RegistryTools.GetRegistryValueNamesFromCurrentUserRoot(String) 方法

定義

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

public:
 virtual cli::array <System::String ^> ^ GetRegistryValueNamesFromCurrentUserRoot(System::String ^ regKeyPath);
public string[] GetRegistryValueNamesFromCurrentUserRoot (string regKeyPath);
abstract member GetRegistryValueNamesFromCurrentUserRoot : string -> string[]
override this.GetRegistryValueNamesFromCurrentUserRoot : string -> string[]
Public Function GetRegistryValueNamesFromCurrentUserRoot (regKeyPath As String) As String()

參數

regKeyPath
String

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

傳回

String[]

值名稱或空白的陣列

實作

適用於