Retrieves the current language.
Syntax
HRESULT get_lang( BSTR *p );
Parameters
- p
- Address of a string (BSTR) variable that receives an ISO standard language abbreviation of the current language.
Return Value
Returns S_OK if successful, or an error code otherwise.
Remarks
The parser can use this property to determine how to display language-specific choices for quotations, numbers, and so on.
Windows CE
Windows CE Use version 2.12 and later Minimum availability Internet Explorer 4.0
Sets the language to use.
Syntax
HRESULT put_lang( BSTR v );
Parameters
- v
- String that specifies an ISO standard language abbreviation to set.
Return Value
Returns S_OK if successful, or an error code otherwise.
Remarks
The parser can use this property to determine how to display language-specific choices for quotations, numbers, and so on.
Windows CE
Windows CE Use version 2.12 and later Minimum availability Internet Explorer 4.0