Share via


srcText Property (Windows Embedded CE 6.0)

1/6/2010

Returns the full text of the line containing the error.

Script Syntax

            strValue = oXMLDOMParseError.srcText;

Remarks

Ee502738.collapse(en-US,WinEmbedded.60).gifScript Parameters

None.

Ee502738.collapse(en-US,WinEmbedded.60).gifScript 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.

Ee502738.collapse(en-US,WinEmbedded.60).gifC/C++ Syntax

HRESULT get_srcText(
  BSTR* sourceString
);

Remarks

Ee502738.collapse(en-US,WinEmbedded.60).gifC/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.

Ee502738.collapse(en-US,WinEmbedded.60).gifC/C++ Return Values

  • S_OK
    Value returned if successful.
  • S_FALSE
    Value returned if no error occurred.

Ee502738.collapse(en-US,WinEmbedded.60).gifRequirements

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

See Also

Reference

XML DOM Properties