next() Method
System.String Quaero.DW.Sequence.next();
Fetch a new value from the sequence. The return is not guaranteed to be the next value, but it will
be a value greater then the current value. Note that we update our value and also return the new value.
Returns
Example
using Quaero;
REST.Agent agent = new REST.Agent ();
agent.set_credentials( tokenID, secret );
agent.connect();
DW.Sequence seq = agent.sequence( "TG00100" );
// outputs something like TG00123
Console.WriteLine( "TG: {0}", seq.value );
seq.next();
// outputs next number, TG00124
Console.WriteLine( "TG: {0}", seq.value );