RegistryKey: GetValueNames

GetValueNames

Returns a list of value names within the current SubKey.



 Public Function GetValueNames ( ) As String ( )

Return Values

String() -  The list of value names.

Remarks

SubKeys within the SubKey are not included in the list.

Bad Spec: The MSDN says that if a default value exists, it will not be included as part of the names returned. However, a simple test in Dot NET shows that the default is included in the list. An empty string is the name of the default value. We include the default name ("") in the returned list.

See Also

Project CorLib Overview

Class RegistryKey Overview