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