Adds an entry to the dictionary for the key-value pair.
Assembly: System.Windows (in System.Windows.dll)
The following example tries to add a key-value pair for the user's name to the settings dictionary. If the data is added successfully, a confirmation is displayed in a TextBox named tbResults. If the key already exists, an exception message is displayed. This example is part of a larger example for the IsolatedStorageSettings class.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.