PersonalizationDictionary.IDictionary.Add(Object, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Implements the Add(Object, Object) method for the PersonalizationDictionary class.
virtual void System.Collections.IDictionary.Add(System::Object ^ key, System::Object ^ value) = System::Collections::IDictionary::Add;
void IDictionary.Add (object key, object value);
abstract member System.Collections.IDictionary.Add : obj * obj -> unit
override this.System.Collections.IDictionary.Add : obj * obj -> unit
Sub Add (key As Object, value As Object) Implements IDictionary.Add
Parameters
- value
- Object
The PersonalizationEntry to add to the personalization dictionary.
Implements
Exceptions
value
is null
.
Remarks
The Add method checks several details to ensure the validity of value
and key
before attempting to add them to the personalization dictionary. If the checks are successful, the method calls the PersonalizationDictionary class's own Add method, passing to it the key
and value
parameters.