Config Helper
GetSubKeyNames Method



KellermanSoftware.ConfigHelper Namespace > RegistryReaderWriter Class : GetSubKeyNames Method
The base location.
Name of the key.
Get a list of sub keys for a key
Syntax
Public Function GetSubKeyNames( _
   ByVal baseLocation As RegistryLocation, _
   ByVal keyName As String _
) As List(Of String)
Dim instance As RegistryReaderWriter
Dim baseLocation As RegistryLocation
Dim keyName As String
Dim value As List(Of String)
 
value = instance.GetSubKeyNames(baseLocation, keyName)
public List<string> GetSubKeyNames( 
   RegistryLocation baseLocation,
   string keyName
)
public:
List<String^>^ GetSubKeyNames( 
   RegistryLocation baseLocation,
   String^ keyName
) 

Parameters

baseLocation
The base location.
keyName
Name of the key.

Return Value

List<System.String>.
Exceptions
ExceptionDescription
subKey or keyName
Could not create sub key
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

RegistryReaderWriter Class
RegistryReaderWriter Members