PropertyBag.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.
For a description of this member, see the Add(Object, Object) method.
virtual void System.Collections.IDictionary.Add(System::Object ^ key, System::Object ^ value) = System::Collections::IDictionary::Add;
void IDictionary.Add (object key, object value);
Sub Add (key As Object, value As Object) Implements IDictionary.Add
Parameters
- key
- Object
The key of the item to add.
- value
- Object
The value of the item to add.
Implements
Exceptions
key
is not an integer
Remarks
This member is an explicit interface member implementation. It can be used only when the PropertyBag object is cast to an IDictionary interface.
Because property bag keys must be integers, the key
parameter must be an integer.