Share via


reason Property

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

Describes the reason for the error.

Script Syntax

            strValue = oXMLDOMParseError.reason;

Remarks

Script Parameters

None.

Script Return Value

String. It displays a description of the error. Validation errors also include the URL of the schema and the node within the schema that corresponds to the error.

C/C++ Syntax

HRESULT get_reason(
  BSTR* reasonString
);

Remarks

C/C++ Parameters

  • reasonString
    [out, retval] Reason for the error. This displays a description of the error, the line number, character position, and source text of the error. Validation errors also include the URL of the schema and the node within the schema that corresponds to the error.

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 interfaces:

IXMLDOMParseError