Returns the next year in the sequence based on the given delta value. This data source does not loop through the sequence. Null is returned 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 DateTimeWrapper.
deltaIndex
Type: System..::..Int32
The number of years to advance through the sequence.

Return Value

The next DateTimeWrapper which is offset from the current DateTimeWrapper by the given number of years.

Implements

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

See Also