共用方式為


IFeedFolder::GetFeed Method

Retrieves a feed by its name.

Syntax

HRESULT GetFeed(
    BSTR feedName,
    IDispatch **disp
);

Parameters

  • feedName
    [in] BSTR that specifies the name of the feed.
  • disp
    [out, retval] Pointer to a variable of type IDispatch that receives the specified feed, or NULL if the feed does not exist.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

Use IFeedFolder::ExistsFeed first to determine if the feed exists.

See Also

IFeedFolder::Feeds, IFeedsManager::GetFeedByUrl