共用方式為


IFeedEnclosure Interface

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

IFeedEnclosure Members

AsyncDownload Starts an asynchronous download.
CancelAsyncDownload Cancels an asynchronous download.
DownloadMimeType Retrieves the final MIME type for the downloaded enclosure.
DownloadStatus Retrieves the current download status of the feed or enclosure.
DownloadUrl Retrieves the URL that was used to download the enclosure.
LastDownloadError Retrieves the last download error.
Length Retrieves the length value from the enclosure.
LocalPath Retrieves the local system path where the enclosure is stored.
Parent Retrieves the parent object.
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 Retrieves the MIME type from the enclosure.
Url Retrieves 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 IDispatch
Header and IDL files msfeeds.h, msfeeds.idl
Minimum availability Internet Explorer 7
Minimum operating systems Windows XP SP2