Share via


ISyncKnowledge2::Complement

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

Syntax

HRESULT Complement(
  ISyncKnowledge * pSyncKnowledge,
  ISyncKnowledge ** ppComplementedKnowledge);

Parameters

  • pSyncKnowledge
    [in] The knowledge to remove from this object to calculate the result of the complement operation.

  • ppComplementedKnowledge
    [out] Returns the knowledge that is contained in this object but that is not contained in the specified knowlede..

Return Value

  • S_OK

  • E_POINTER

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

ISyncKnowledge2 Interface