Bagikan melalui


IXFeedEnclosure Interface

Exposes methods and properties of the Really Simple Syndication (RSS) feed item enclosure.

IXFeedEnclosure Members

AsyncDownload Downloads the enclosure asynchronously.
CancelAsyncDownload Cancels asynchronous download of the enclosure.
DownloadMimeType Retrieves the final MIME type for the downloaded enclosure.
DownloadStatus Returns the current download status of the enclosure.
DownloadUrl Retrieves the URL from which the enclosure was downloaded.
LastDownloadError Returns the last download error of the enclosure.
Length Returns the length value from the enclosure.
LocalPath Returns the local system path where the enclosure is stored.
Parent Returns the parent feed item of the enclosure.
RemoveFile Deletes the enclosure file or cancels any pending or in-progress downloads.
SetFile Adds the downloaded enclosure file to the Windows RSS Platform.
Type Returns the MIME type from the enclosure.
Url Returns the URL from the enclosure.

Remarks

The enclosure is a media object that is attached to the item. Enclosures may be downloaded by the feed automatically, on a schedule, or on demand.

Interface Information

Stock Implementation msfeeds.dll
Custom Implementation No
Inherits from IUnknown
Header and IDL files msfeeds.h, msfeeds.idl
Minimum availability Internet Explorer 7
Minimum operating systems Windows XP SP2