WsSkipNode function (webservices.h)

Advances the reader in the input stream. If the current node is an element, all of the children of that element are skipped, and the reader is positioned on the node following its end element. Otherwise, the reader is positioned on the next node in the same manner as WsReadNode.

Syntax

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

Parameters

[in] reader

The reader which is to skip to the next node.

[in, optional] error

Specifies where additional error information 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.
WS_E_QUOTA_EXCEEDED
A quota was exceeded.

Remarks

If there is an error parsing the input, the function will return WS_E_INVALID_FORMAT. (See Windows Web Services Return Values.)

This function can fail for any of the reasons listed in WsReadNode.

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