ItemFieldDictionary::Contains Method

Indicates whether an ItemField object is contained in the ItemFieldDictionary collection.

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

public:
virtual bool Contains(
	KeyValuePair<unsigned int, ItemField^> item
) sealed

Parameters

item
Type: System.Collections.Generic::KeyValuePair<UInt32, ItemField>
The ItemField object to find.

Return Value

Type: System::Boolean
true if the ItemField object exists in the ItemFieldDictionary collection; otherwise false.

Implements

ICollection<T>::Contains(T)

ExceptionCondition
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: