GetElementId

Returns the identifier of the element at which the XML validation error occurred.

Syntax

HRESULT GetElementId
  ([out, retval] BSTR* pbstrElementId)
;

Parameters

pbstrElementId
[out] A pointer to identifier of the element 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 element identifier.

E_POINTER

The pointer is invalid.

IParsingErrorInfo