IHTMLElement::lang Property

Sets or retrieves the language to use.

Syntax


HRESULT IHTMLElement::get_lang(BSTR *p);HRESULT IHTMLElement::put_lang(BSTR v);

Parameters

p
Pointer to a variable of type BSTR that receives an ISO standard language abbreviation.
v
BSTR that specifies an ISO standard language abbreviation.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

The parser uses this property to determine how to display language-specific choices for quotations, numbers, and so on.

Community Additions

Show: