Share via


IXFeedEnclosure::Type Method

Returns the MIME type from the enclosure.

Syntax

HRESULT Type(
    LPWSTR *ppszMimeType
);

Parameters

  • ppszMimeType
    [out] Pointer to a string 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.

Calling process is responsible for freeing the memory with SysFreeString.