ISyncKnowledge2::Complement

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


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

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..

  • S_OK

  • E_POINTER

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.

Show: