Not
Åtkomst till denna sida kräver auktorisation. Du kan prova att logga in eller byta katalog.
Åtkomst till denna sida kräver auktorisation. Du kan prova att byta katalog.
Indicates whether an ItemField object is contained in the ItemFieldDictionary collection.
Namespace: Microsoft.Synchronization.SimpleProviders
Assembly: Microsoft.Synchronization.SimpleProviders (in Microsoft.Synchronization.SimpleProviders.dll)
Syntax
'Declaration
Public Function Contains ( _
item As KeyValuePair(Of UInteger, ItemField) _
) As Boolean
'Usage
Dim instance As ItemFieldDictionary
Dim item As KeyValuePair(Of UInteger, ItemField)
Dim returnValue As Boolean
returnValue = instance.Contains(item)
public bool Contains(
KeyValuePair<uint, ItemField> item
)
public:
virtual bool Contains(
KeyValuePair<unsigned int, ItemField^> item
) sealed
abstract Contains :
item:KeyValuePair<uint32, ItemField> -> bool
override Contains :
item:KeyValuePair<uint32, ItemField> -> bool
public final function Contains(
item : KeyValuePair<uint, ItemField>
) : boolean
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
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | The value of the key/value pair in item is null reference (Nothing in Visual Basic). |
| ArgumentException | The key in item is different than the field id for the value in item. |