Share via


SyncKnowledge.Complement Method

Returns the knowledge that is contained in this object, but that is not contained in the specified knowledge.

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

Syntax

'Declaration
Public Function Complement ( _
    otherKnowledge As SyncKnowledge _
) As SyncKnowledge
'Usage
Dim instance As SyncKnowledge
Dim otherKnowledge As SyncKnowledge
Dim returnValue As SyncKnowledge

returnValue = instance.Complement(otherKnowledge)
public SyncKnowledge Complement (
    SyncKnowledge otherKnowledge
)
public:
SyncKnowledge^ Complement (
    SyncKnowledge^ otherKnowledge
)
public SyncKnowledge Complement (
    SyncKnowledge otherKnowledge
)
public function Complement (
    otherKnowledge : SyncKnowledge
) : SyncKnowledge

Parameters

  • otherKnowledge
    The knowledge to remove from this object to calculate the result of the complement operation.

Return Value

The knowledge that is contained in this object but that is not contained in the specified knowledge.

Remarks

The complement operation can be thought of conceptually as a subtraction operation. The specified knowledge is subtracted from the knowledge in this object and the result is returned.

See Also

Reference

SyncKnowledge Class
SyncKnowledge Members
Microsoft.Synchronization Namespace