次の方法で共有


reason Property (Compact 2013)

3/26/2014

Describes the reason for the error.

Syntax

strValue = oXMLDOMParseError.reason;
HRESULT get_reason(
  BSTR* reasonString
);

Parameters

Script

None.

C/C++

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

Return Value

Script

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

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

IXMLDOMParseError

Requirements

Header

msxml2.h,
msxml2.idl

See Also

Reference

XML DOM Properties