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)

Syntax

'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)
public KnowledgeCookieComparisonResult Compare (
    KnowledgeCookie otherCookie
)
public:
KnowledgeCookieComparisonResult Compare (
    KnowledgeCookie^ otherCookie
)
public KnowledgeCookieComparisonResult Compare (
    KnowledgeCookie otherCookie
)
public function Compare (
    otherCookie : KnowledgeCookie
) : KnowledgeCookieComparisonResult

Parameters

  • otherCookie
    The knowledge cookie to compare against this object.

Return Value

The result of the comparison.

Remarks

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

See Also

Reference

SyncKnowledge Class
SyncKnowledge Members
Microsoft.Synchronization Namespace