Partager via


IFeedItem::Guid Property

Retrieves the guid from the feed item.

Syntax

HRESULT IFeedItem::get_Guid(BSTR *itemGuid);

Parameters

  • itemGuid
    Pointer to a variable of type BSTR that receives the guid element of the feed item.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

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

The GUID string uniquely identifies the feed item; however, the syntax of the string is left up to the author of the feed. If the guid element has an attribute named "isPermaLink" with a value of true, the string is assumed to be a valid URL to the item. The Windows RSS Platform copies the permalink value to the IFeedItem::Link property of the FeedItem object when the feed is normalized, if IFeedItem::Link is not otherwise defined.

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

See Also

IFeedItem::Link, IFeedItem::LocalId