IFeedItemConverter::ConvertXmlTextToItemData

When implemented by a derived class, converts items from an XML string that contains the item data in the FeedSync format to the provider format.


HRESULT ConvertXmlTextToItemData(
  LPCWSTR wszItemXmlText,
  IFeedItemConverterCallback *pCallback);

wszItemXmlText

[in, string] The item data in the FeedSync format, represented as a string.

pCallback

[in] The IFeedItemConverterCallback::ConvertXmlTextToItemDataComplete method of this object is called to return the converted item data.

  • S_OK

  • User-defined error codes

To convert item data from the FeedSync format to the provider format, Sync Framework first calls ConvertXmlToItemData. If ConvertXmlToItemData returns E_NOTIMPL, Sync Framework will call ConvertXmlTextToItemData to convert the item data. Only one of these methods has to be implemented.

Show: