共用方式為


IXFeed::SetUrl Method

Sets the source URL of the feed.

Syntax

HRESULT SetUrl(
    LPCWSTR pszUrl
);

Parameters

  • pszUrl
    [in] String that contains the source URL of the feed.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

The pszUrl parameter must be an absolute URL that begins with the "http:" or "https:" protocol. No other protocols are supported.

See Also

IXFeed::Link