IXFeedItem::Enclosure Method

Returns the enclosure associated with the feed item.

Syntax

HRESULT Enclosure(
    REFIID riid,
    void **ppv
);

Parameters

  • riid
    [in] IID of the requested interface.
  • ppv
    [out] Address of a pointer variable that receives the enclosure, or NULL if it does not exist.

Return Value

Returns S_OK if successful, or E_NOINTERFACE if the interface is not supported.