Compartilhar via


srcText Property (Compact 2013)

3/26/2014

Returns the full text of the line containing the error.

Syntax

strValue = oXMLDOMParseError.srcText;
HRESULT get_srcText(
  BSTR* sourceString
);

Parameters

Script

None.

C/C++

  • 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.

Return Value

Script

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++

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

Remarks

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

IXMLDOMParseError

Requirements

Header

msxml2.h,
msxml2.idl

See Also

Reference

XML DOM Properties