Returns the next number in the sequence based on the given delta value. The sequence will loop around if an overflow occurs.

Namespace: Mindscape.PhoneElements
Assembly: Mindscape.PhoneElements (in Mindscape.PhoneElements.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public Object GetNext(
	Object current,
	int deltaIndex
)
Visual Basic
Public Function GetNext ( _
	current As Object, _
	deltaIndex As Integer _
) As Object
Visual C++
public:
virtual Object^ GetNext(
	Object^ current, 
	int deltaIndex
) sealed

Parameters

current
Type: System..::..Object
The current number.
deltaIndex
Type: System..::..Int32
How many numbers to advance through the sequence.

Return Value

The next number in the squence which is offset from the current number by the given delta value.

Implements

IDataSource..::..GetNext(Object, Int32)

See Also