This method works exactly as if you were using the Microsoft Windows Registry editor and chose Add Value, selecting the data type
REG_SZ. The
Entry argument of the method corresponds to the
Value Name you enter, and the
Value argument corresponds to what you type in the String editor.
The Key must exist in the Registry. If the
Entry argument is not already in the Registry, a new entry is created and its value set to
Value. If the
Entry argument exist in the Registry for the specified key, the value of the entry is set to the new value.