IActiveScriptError::GetSourceLineText
Retrieves the line in the source file where an error occurred while a scripting engine was running a script.
Syntax
HRESULT GetSourceLineText(
BSTR *pbstrSourceLine // address of buffer for source line
);
Parameter
pbstrSourceLine
[out] Address of a buffer that receives the line of source code in which the error occurred.
Return Value
Returns S_OK
if successful, or E_FAIL
if the line in the source file was not retrieved.