次の方法で共有


IFeed::Link Property

Retrieves the home page URL from the feed or item.

Syntax

HRESULT IFeed::get_Link(BSTR *homePage);

Parameters

  • homePage
    Pointer to a variable of type BSTR that receives the home page URL.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

The link property is a required feed element, and an optional item element. The property value is NULL if not specified in the source.

The user is responsible for freeing the memory with SysFreeString.

See Also

IFeed::Url