共用方式為


IFeedItem::Enclosure Property

Retrieves the IFeedEnclosure object associated with the feed item.

Syntax

HRESULT IFeedItem::get_Enclosure(IDispatch **disp);

Parameters

  • disp
    Address of a pointer to a variable of type IDispatch interface that receives the enclosure, or NULL if it does not exist.

Return Value

Returns S_OK if successful, or an error value otherwise.