Microsoft® Windows® Script Interfaces
IActiveScriptError::GetSourceLineText
 Language Reference
Previous
Next


HRESULT GetSourceLineText(
    BSTR *pbstrSourceLine  // address of buffer for source line
);

Retrieves the line in the source file where an error occurred while a scripting engine was running a script.

pbstrSourceLine
[out] Address of a buffer that receives the line of source code in which the error occurred.