RegistryKey.getValueCount

Overview | Methods | This Package | All Packages

RegistryKey.getValueCount

Retrieves the number of values defined in the current key.

Syntax

public int getValueCount()

Return Value

Returns the number of values defined.

Remarks

Use the getValueCount method to get a count of the values defined for the currently opened key. Use this method to assist in looping through all the values in the current key. To get an array containing all the value names for the current key, use the getValueNames method.