次の方法で共有


linepos Property (Compact 2013)

3/26/2014

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

Syntax

lValue = oXMLDOMParseError.linepos;
HRESULT get_linepos(
  long* linePosition
);

Parameters

Script

None.

C/C++

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

Return Value

Script

Long integer. Character position within the line where the error occurred.

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 interface:

IXMLDOMParseError

Requirements

Header

msxml2.h,
msxml2.idl

See Also

Reference

XML DOM Properties