GetElementId

Applies To: Windows 8, Windows 8.1

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

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.

See Also

Reference

IParsingErrorInfo