WsReadEndAttribute function (webservices.h)

Moves the reader back to the element node containing the attribute that was read.

Syntax

HRESULT WsReadEndAttribute(
  [in]           WS_XML_READER *reader,
  [in, optional] WS_ERROR      *error
);

Parameters

[in] reader

A pointer to the XML Reader that reads the End attribute. The pointer must reference a valid WS_XML_READER object.

[in, optional] error

A pointer to a WS_ERROR object where additional information about the error should be stored if the function fails.

Return value

This function can return one of these values.

Return code Description
WS_E_INVALID_FORMAT
The input data was not in the expected format or did not have the expected value.

Remarks

WsReadStartAttribute must have been called in order to use this API.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps | UWP apps]
Minimum supported server Windows Server 2008 R2 [desktop apps | UWP apps]
Target Platform Windows
Header webservices.h
Library WebServices.lib
DLL WebServices.dll