GetLineNumber

Gets the number of the line at which the XML validation error occurred.

Syntax

HRESULT GetLineNumber
  ([out, retval] ULONG* pLineNumber)
;

Parameters

pLineNumber
[out] A pointer to the number of the line at which the XML validation error occurred.

Return Value

The following table describes possible return values.

Return Value Description

S_OK

The function successfully returned the line number.

E_POINTER

The pointer is invalid.

IParsingErrorInfo