XmlResults::peek

#include <DbXml.hpp>

bool XmlResults::peek(XmlValue &value)
bool XmlResults::peek(XmlDocument &document)

Returns the current element in the results set without moving the internal iterator. If the provided object is successfully populated, this method returns true; otherwise, false is returned.

Two forms of this method exist: one that places the next value in an XmlValue object, and another that places the next value in an XmlDocument object.

Parameters

value

The XmlValue into which the current value in the result set is to be placed.

document

The XmlDocument into which the current value in the result set is to be placed.

Class

XmlResults

See Also

XmlResults Methods