Click to return to the XML (Extensible Markup Language) home page    
IXMLDOMParseError::reason...     IXMLDOMParseError::url Pr...     IXMLDOMParseError Interfa...    
Web Workshop  |  XML (Extensible Markup Language)

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 Value

Returns S_OK if successful, or an error code otherwise.



Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.