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.
- pCallback
[in] The IFeedItemConverterCallback::ConvertItemDataToXmlTextComplete method of this object is called to return the converted item data.
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.