NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

RegistryKey.GetSubKeyNames

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[];

Return Value

All subkey names.

Exceptions

Exception Type Condition
SecurityException The user does not have RegistryPermission.SetInclude(read, currentKey) access.

Remarks

This method does not recursively find names. It only returns the names on the base level it was called from.

See Also

RegistryKey Class | RegistryKey Members | Microsoft.Win32 Namespace