Partager via


reason Property (Windows CE 5.0)

Send Feedback

Describes the reason for the error.

[Script]

Script Syntax

strValue= oXMLDOMParseError.reason;

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

C/C++ Syntax

HRESULT get_reason(BSTR* reasonString);

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

OS Versions: Windows CE .NET 4.0 and later.
Header: Msxml2.h, Msxml2.idl.

General Remarks

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

IXMLDOMParseError

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.