Share via


IXFeed::Language Method

Returns the language code from the feed.

Syntax

HRESULT Language(
    LPWSTR *ppszLanguage
);

Parameters

  • ppszLanguage
    [out] Pointer to a string 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 return value is NULL if not specified in the source.

The user is responsible for freeing the memory with CoTaskMemFree.