Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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:
© 2015 Microsoft