ItemFieldDictionary::Add Method (UInt32, ItemField)

Adds an ItemField object to the ItemFieldDictionary collection.

Namespace:  Microsoft.Synchronization.SimpleProviders
Assembly:  Microsoft.Synchronization.SimpleProviders (in Microsoft.Synchronization.SimpleProviders.dll)

public:
virtual void Add(
	unsigned int key, 
	ItemField^ value
) sealed

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)

ExceptionCondition
ArgumentNullException

The value is nullptr.

ArgumentException

key is different than the field id for value.

Show: