ItemFieldDictionary::Add Method (KeyValuePair<UInt32, ItemField>)
Adds an ItemField object to the ItemFieldDictionary collection.
Assembly: Microsoft.Synchronization.SimpleProviders (in Microsoft.Synchronization.SimpleProviders.dll)
Parameters
- item
- Type: System.Collections.Generic::KeyValuePair<UInt32, ItemField>
The ItemField object to add to the ItemFieldDictionary collection.
Implements
ICollection<T>::Add(T)| Exception | Condition |
|---|---|
| ArgumentNullException | The value of the key/value pair in item is nullptr. |
| ArgumentException | The key in item is different than the field id for the value in item. |
Show: