Microsoft XML SDK 2.6 - XML Reference

IXMLDOMParseError::linepos Method

IXMLDOMParseError::get_linepos Method

Contains the character position within the line where the error occurred.

Visual Basic Syntax

lValue = oXMLDOMParseError.linepos

C/C++ Syntax

HRESULT get_linepos(
    long *linePosition);

Parameters

linePosition [out]
Character position within the line where the error occurred.

C/C++ Return Values

S_OK
Value returned if successful.
S_FALSE
Value returned if no error occurred.

See Also

IXMLDOMParseError Interface