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)

public:
bool Contains(
	ChangeUnitChange^ changeUnitChange
)

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.

ExceptionCondition
ArgumentNullException

changeUnitChange is a nullptr or its ParentChange or ChangeUnitVersion property is a nullptr.

InvalidOperationException

This SyncKnowledge object is not initialized.

Show: