Share via


IFeedItemDataMerger::MergeFeedItemData

When implemented by a derived class, combines data from two items into one item.

HRESULT MergeFeedItemData(
  IUnknown * pSourceItemData,
  IUnknown * pLocalItemData,
  IUnknown ** ppMergedItemData);

Parameters

  • pSourceItemData
    [in] The item data from the source replica.
  • pLocalItemData
    [in] The item data from the destination replica.
  • ppMergedItemData
    [out] Returns the item data that is built by combining the item data from the source replica with the item data from the destination replica.

Return Value

  • S_OK

  • User-defined error codes

Remarks

This method is called by IFeedBuilder::SaveChange when a change is specified to be applied by using the merge action.

The implementation of IFeedBuilder that is provided by Sync Services for FeedSync passes pSourceItemData and pLocalItemData objects that implement the IXMLDOMElement interface.

See Also

Reference

IFeedItemDataMerger Interface