Udostępnij za pośrednictwem


IFeedItemConverter::ConvertItemDataToXmlText

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

HRESULT ConvertItemDataToXmlText(
  IUnknown *pItemData,
  IFeedItemConverterCallback *pCallback);

Parameters

  • pItemData
    [in] The item data in the provider format.

Return Value

  • S_OK

  • User-defined error codes

Notes for Implementers

The XML string that is returned by using IFeedItemConverterCallback::ConvertItemDataToXmlTextComplete must be well formed.

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

See Also

Reference

IFeedItemConverter Interface