Compartilhar via


IFeed::DownloadEnclosuresAutomatically Property

Sets or retrieves a VARIANT_BOOL value that determines whether enclosures are downloaded automatically.

Syntax

HRESULT IFeed::get_DownloadEnclosuresAutomatically(VARIANT_BOOL *downloadEnclosuresAutomatically);
HRESULT IFeed::put_DownloadEnclosuresAutomatically(VARIANT_BOOL downloadEnclosuresAutomatically);

Parameters

  • downloadEnclosuresAutomatically
    Pointer to a variable of type VARIANT_BOOL that receives one of the values listed in Possible Values.
  • downloadEnclosuresAutomatically
    VARIANT_BOOL that specifies one of the values listed in Possible Values.

Possible Values

VARIANT_TRUE Enclosures are downloaded automatically.
VARIANT_FALSE Default. Enclosures are not downloaded automatically.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

After setting this property to TRUE, enclosures are downloaded for new feed items only. Setting this property does cause downloads for existing items.

See Also

IFeed::Download