RegistryKey.getSubKeyNames

Overview | Methods | This Package | All Packages

RegistryKey.getSubKeyNames

Retrieves an array of strings containing all the subkey names for the current key.

Syntax

public String[] getSubKeyNames()

Return Value

Returns an array of strings containing all the subkey names.

Remarks

Use the getSubKeyNames method to determine the names of the subkeys defined for the current key. Use this method to get a list of all the subkey names and determine whether a specific subkey has been defined. To get a count of all the subkeys defined in the key, use the getSubKeyCount method. To retrieve a RegistryKey object representing one of the subkeys found using getSubKeyNames, use the getSubKey method.