Contents Index Topic Contents | ||
Previous Topic: IHTMLElement::put_language Next Topic: IHTMLElement::put_onselectstart |
IHTMLElement::get_language
HRESULT get_language( BSTR *p );Retrieves the language that the current script is written in.
- Returns S_OK if successful, or an error value otherwise.
- p
- Address of a variable that receives the language. Can be one of these values:
JScript Specifies that the script is written in JScript. Jscript Specifies the language as JScript. vbs Specifies the language is VBScript. vbscript Specifies that the script is written in VBScript. See also put_language
IHTMLElement::put_language
HRESULT put_language( BSTR v );Sets the language that the current script is written in.
- Returns S_OK if successful, or an error value otherwise.
- v
- String specifying the language. Can be one of the following values;
JScript Specifies that the script is written in JScript. Jscript Specifies the language as JScript. vbs Specifies the language is VBScript. vbscript Specifies that the script is written in VBScript. See also get_language
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.