Share via


IFeedItem::Xml Method

Returns the XML fragment for the feed item.

Syntax

HRESULT Xml(
    FEEDS_XML_INCLUDE_FLAGS includeFlags,
    BSTR *xml
);

Parameters

  • includeFlags
    [in] A FEEDS_XML_INCLUDE_FLAGS value that specifies whether to include namespace extensions to Really Simple Syndication (RSS) 2.0 in the XML.
  • xml
    [out, retval] Pointer to a BSTR that receives the XML source for the feed item.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

The XML fragment for the item does not include the XML namespace declaration or Document Type Definition (DTD).

See Also

IFeed::Xml