次の方法で共有


IFeedsManager::IsSubscribed Method

Determines if the URL is in the system subscription store.

Syntax

HRESULT IsSubscribed(
    BSTR feedUrl,
    VARIANT_BOOL *subscribed
);

Parameters

  • feedUrl
    [in] BSTR that specifies the URL for the feed.
  • subscribed
    [out, retval] Pointer variable of type VARIANT_BOOL that receives one of the following possible values:
    • VARIANT_TRUE
      The user is subscribed to the feed.
    • VARIANT_FALSE
      This is an improvised feed.

Return Value

Returns S_OK if successful, or an error value otherwise.