Retrieves an array of strings containing all the subkey names.
[Visual Basic] Public Function GetSubKeyNames() As String () [C#] public string[] GetSubKeyNames(); [C++] public: String* GetSubKeyNames() []; [JScript] public function GetSubKeyNames() : String[];
All subkey names.
Exception Type | Condition |
---|---|
SecurityException | The user does not have RegistryPermission.SetInclude(read, currentKey) access. |
This method does not recursively find names. It only returns the names on the base level it was called from.
RegistryKey Class | RegistryKey Members | Microsoft.Win32 Namespace