共用方式為


IFeedItem::Link Property

Retrieves the URL from the feed item.

Syntax

HRESULT IFeedItem::get_Link(BSTR *linkUrl);

Parameters

  • linkUrl
    Pointer to a variable of type BSTR that receives the URL.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

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

The calling process is responsible for freeing the memory with SysFreeString.

See Also

IFeedItem::Guid, IFeed::Url