Not
Åtkomst till denna sida kräver auktorisation. Du kan prova att logga in eller byta katalog.
Åtkomst till denna sida kräver auktorisation. Du kan prova att byta katalog.
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
)
member Complement :
otherKnowledge:SyncKnowledge -> SyncKnowledge
public function Complement(
otherKnowledge : SyncKnowledge
) : SyncKnowledge
Parameters
- otherKnowledge
Type: Microsoft.Synchronization.SyncKnowledge
The knowledge to remove from this object to calculate the result of the complement operation.
Return Value
Type: Microsoft.Synchronization.SyncKnowledge
The knowledge that is contained in this object but that is not contained in the specified knowledge.
Exceptions
| Exception | Condition |
|---|---|
| InvalidOperationException | This SyncKnowledge object is not initialized. |
| ArgumentOutOfRangeException | otherKnowledge is not a valid value. |
| ArgumentNullException | otherKnowledge is a null reference (Nothing in Visual Basic). |
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.