Partager via


srcText Property

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

Returns the full text of the line containing the error.

Script Syntax

            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

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