IHTMLElement::get_languageIHTMLElement::get_language*
*



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.

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

Up Top of Page


IHTMLElement::put_language


HRESULT put_language(
    BSTR v
);

Sets the language that the current script is written in.

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


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.