next


Description:

public bool next (out string attribute = null, out string value = null) throws Error

Advances this and retrieves the next attribute/value.

false is returned if an error has occurred (in which case throws is set), or if the end of the iteration is reached (in which case attribute and value are set to null and the iterator becomes invalid). If true is returned, next may be called again to receive another attribute/value pair.

Note that the same attribute may be returned multiple times, since URIs allow repeated attributes.

Parameters:

this

an initialized UriParamsIter

attribute

on return, contains the attribute, or null.

value

on return, contains the value, or null.

Returns:

false if the end of the parameters has been reached or an error was encountered. true otherwise.