Microsoft XML 2.5 SDK


 

IXMLDOMParseError::get_srcText Method

[This is preliminary documentation and subject to change.]

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.