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