Freigeben über


Compare-Methode

Führt einen schnellen Vergleich zwischen dem angegebenen Wissenscookie und diesem Wissensobjekt aus.

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

Parameter

Rückgabewert

Typ: Microsoft.Synchronization. . :: . .KnowledgeCookieComparisonResult
Das Ergebnis des Vergleichs.

Ausnahmen

Ausnahme Bedingung
ArgumentNullException

otherCookie ist NULL.

Hinweise

Diese Methode kann verwendet werden, wenn die Leistung des Wissensvergleichs besonders wichtig ist.

Siehe auch

Verweis

SyncKnowledge Klasse

SyncKnowledge-Member

Microsoft.Synchronization-Namespace