共用方式為


IFeedsManager::GetFeedByUrl Method

Retrieves a feed by its URL.

Syntax

HRESULT GetFeedByUrl(
    BSTR feedUrl,
    IDispatch **disp
);

Parameters

  • feedUrl
    [in] BSTR that specifies the URL for 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.