共用方式為


IXFeedEnclosure::Url Method

Returns the URL from the enclosure.

Syntax

HRESULT Url(
    LPWSTR *ppszUrl
);

Parameters

  • ppszUrl
    [out] Pointer to a string that receives the source URL of the enclosure.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

URL is a required enclosure attribute.

The user is responsible for freeing the memory with CoTaskMemFree.