Retrieves an array of strings containing all the value names.
[Visual Basic] Public Function GetValueNames() As String () [C#] public string[] GetValueNames(); [C++] public: String* GetValueNames() []; [JScript] public function GetValueNames() : String[];
Exception Type | Condition |
---|---|
SecurityException | The user does not have RegistryPermission.SetInclude(read, currentKey) access. |
RegistryKey Class | RegistryKey Members | Microsoft.Win32 Namespace