共用方式為


IFeedEnclosure::Type Property

Retrieves the MIME type from the enclosure.

Syntax

HRESULT IFeedEnclosure::get_Type(BSTR *mimeType);

Parameters

  • mimeType
    Pointer to a variable of type BSTR that receives the MIME type from the enclosure.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

Type is a required enclosure attribute.

Caller is responsible for freeing the memory with SysFreeString.