GetElementType

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

Syntax

HRESULT GetElementType
  ([out, retval] BSTR* pbstrElementType)
;

Parameters

pbstrElementType
[out] A pointer to the type 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 type.

E_POINTER

The pointer is invalid.

IParsingErrorInfo