共用方式為


IFeed::Language Property

Retrieves the language code from the feed.

Syntax

HRESULT IFeed::get_Language(BSTR *language);

Parameters

  • language
    Pointer to a variable of type BSTR that receives the language code.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

Language is an optional feed element. The property value is NULL if not specified in the source.

The calling process is responsible for freeing the memory with SysFreeString.