SyncKnowledge.Compare Method

Performs a fast comparison between the specified knowledge cookie and this knowledge object.

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

'Declaration
Public Function Compare ( _
	otherCookie As KnowledgeCookie _
) As KnowledgeCookieComparisonResult
'Usage
Dim instance As SyncKnowledge
Dim otherCookie As KnowledgeCookie
Dim returnValue As KnowledgeCookieComparisonResult

returnValue = instance.Compare(otherCookie)

Parameters

otherCookie
Type: Microsoft.Synchronization.KnowledgeCookie
The knowledge cookie to compare against this object.

Return Value

Type: Microsoft.Synchronization.KnowledgeCookieComparisonResult
The result of the comparison.

ExceptionCondition
ArgumentNullException

otherCookie is a Nothing.

This method can be used when the performance of the knowledge comparison operation is especially important.

Show: