IParsingErrorInfo
Applies To: Windows 8, Windows 8.1
Provides functions that identify where the validation of an XML file failed. The interface derives from the COM IErrorInfo interface, which provides functions that access detailed contextual error information.
{
[id(1), helpstring("GetColumnNumber")] HRESULT GetColumnNumber
([out, retval] ULONG* pColumnNumber);
[id(2), helpstring("GetLineNumber")] HRESULT GetLineNumber
([out, retval] ULONG* pLineNumber);
[id(3), helpstring("GetElementType")] HRESULT GetElementType
([out, retval] BSTR* pbstrElementType);
[id(4), helpstring("GetElementId")] HRESULT GetElementId
([out, retval] BSTR* pbstrElementId);
};
Functions
The following table describes the functions that this interface provides.
Function | Description |
---|---|
Returns the column number of the validation error. |
|
Returns the line number of the validation error. |
|
Returns the element type at which the validation error occurred. |
|
Returns the element identifier at which the validation error occurred. |