IXMLDOMParseError::srcText Method
IXMLDOMParseError::get_srcText Method
Returns the text of the line containing the error.
Visual Basic Syntax
strValue = oXMLDOMParseError.srcText
C/C++ Syntax
HRESULT get_srcText(
BSTR *sourceString);
Parameters
- sourceString [out]
- Full text of the line containing the error. This returns an empty string if the error is caused when the XML is not well-formed and the error cannot be assigned to a specific line.
C/C++ Return Values
- S_OK
- Value returned if successful.
- S_FALSE
- Value returned if no error occurred.
See Also
IXMLDOMParseError Interface