Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

Returns the full text of the line containing the error.

Script Syntax

Copy Code
		
strValue = oXMLDOMParseError.srcText;

Remarks

Script Parameters

None.

Script Return Value

String. It returns an empty string if an error is caused by XML that is not well-formed and cannot be assigned to a specific line.

C/C++ Syntax

Copy Code
HRESULT get_srcText(
  BSTR* 
sourceString
);

Remarks

C/C++ Parameters

sourceString

[out, retval] Full text of the line containing the error. This returns an empty string if the error is caused by XML that is not well-formed and 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.

Requirements

Header msxml2.h, msxml2.idl
Windows Embedded CE Windows CE .NET 4.0 and later

General Remarks

This property is read-only, and applies to the following interface:

IXMLDOMParseError