次の方法で共有


line Property (Compact 2013)

3/26/2014

Specifies the line number that contains the error.

Syntax

lValue = oXMLDOMParseError.line;
HRESULT get_line(
  long* lineNumber
);

Parameters

Script

None.

C/C++

  • lineNumber
    [out, retval] Line number where the error occurred.

Return Value

Script

Long integer. Line number 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