ItemFieldDictionary::Item Property
Gets or sets the ItemField object that corresponds to the specified key.
Assembly: Microsoft.Synchronization.SimpleProviders (in Microsoft.Synchronization.SimpleProviders.dll)
public: virtual property ItemField^ default[unsigned int key] { ItemField^ get (unsigned int key) sealed; void set (unsigned int key, ItemField^ value) sealed; }
Parameters
- key
- Type: System::UInt32
The key of the ItemField object to get or set.
Property Value
Type: Microsoft.Synchronization.SimpleProviders::ItemFieldThe ItemField object that corresponds to the specified key.
Implements
IDictionary<TKey, TValue>::Item[TKey]| Exception | Condition |
|---|---|
| ArgumentNullException | The value of the key/value pair in value is nullptr. |
| ArgumentException | The key in value is different than the field id for the value in value. |
Show: