SyncKnowledge.Contains Method (ItemChange)
Indicates whether the specified item change is known by this knowledge.
Namespace: Microsoft.Synchronization
Assembly: Microsoft.Synchronization (in Microsoft.Synchronization.dll)
Syntax
'Declaration
Public Function Contains ( _
itemChange As ItemChange _
) As Boolean
'Usage
Dim instance As SyncKnowledge
Dim itemChange As ItemChange
Dim returnValue As Boolean
returnValue = instance.Contains(itemChange)
public bool Contains(
ItemChange itemChange
)
public:
bool Contains(
ItemChange^ itemChange
)
member Contains :
itemChange:ItemChange -> bool
public function Contains(
itemChange : ItemChange
) : boolean
Parameters
- itemChange
Type: Microsoft.Synchronization.ItemChange
The item change to look up.
Return Value
Type: System.Boolean
true if itemChange is known. Otherwise, false.
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | This SyncKnowledge object is not initialized. |
ArgumentNullException | itemChange is a null reference (Nothing in Visual Basic). |
ArgumentException | itemChange has change units. |