共用方式為


IRegistryTools2.GetRegistrySubKeyNamesFromCurrentUserRoot(String) 方法

定義

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

public:
 cli::array <System::String ^> ^ GetRegistrySubKeyNamesFromCurrentUserRoot(System::String ^ regKeyPath);
public string[] GetRegistrySubKeyNamesFromCurrentUserRoot (string regKeyPath);
abstract member GetRegistrySubKeyNamesFromCurrentUserRoot : string -> string[]
Public Function GetRegistrySubKeyNamesFromCurrentUserRoot (regKeyPath As String) As String()

參數

regKeyPath
String

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

傳回

String[]

值名稱或空白的陣列

適用於