Click to return to the XML (Extensible Markup Language) home page    
IXMLDOMParseError::linepo...     IXMLDOMParseError::srcTex...     IXMLDOMParseError Interfa...    
Web Workshop  |  XML (Extensible Markup Language)

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.



Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.