Microsoft SDK for Java

RegistryKey.getValueNames

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

Syntax

public String[] getValueNames()

Return Value

An array of strings containing all the value names in the key.

Remarks

Use The getValueNames method to determine the names of the values defined for the current key. Use this method to get a list of all the value names and determine whether a specific value has been defined. To get a count of all the values defined in the key, use the getValueCount method. To retrieve a String object representing one of the values found using getValueNames, use the getValue method.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.