Microsoft XML 2.5 SDK


 

IXMLDOMParseError::get_reason Method

Explains the reason for the error.

Visual Basic Syntax

strValue = oXMLDOMParseError.reason

C/C++ Syntax

HRESULT get_reason(

    BSTR *reasonString);

Parameters

reasonString

[out]
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 Value

Returns S_OK if successful, or an error code otherwise.