ResourceDictionary.Add Method (Object, Object)
Adds an item to the ResourceDictionary.
Assembly: System.Windows (in System.Windows.dll)
ResourceDictionary supports dictionary APIs that support two signatures for the type of the key component, one that takes strings and one that takes Object. Most Silverlight scenarios should use strings as the resource key for resources in a ResourceDictionary. The Object as key signatures exist for compatibility and for interface conformance, but internally the dictionary is implemented such that only strings are accepted as keys. See "Keys and Resources" section of Resource Dictionaries.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.