IScriptNode::GetLanguage

Returns the scripting language that is used by the current script node.

Syntax

HRESULT GetLanguage(  
   BSTR               *pbstr  
);  

Parameters

pbstr
[out] Returns "JScript" if the script node uses JScript, or "VBScript" if the script node uses Visual Basic Scripting Edition (VBScript).

Return Value

An HRESULT. Possible values include, but are not limited to, those in the following table.

Value Description
S_OK The method succeeded.

Remarks

See also

IScriptNode Interface