Adds the specified number of months to the value of this instance.

Namespace:  DlhSoft.Windows.Data
Assembly:  DlhSoft.ProjectData.GanttChart.LightWPF.Controls (in DlhSoft.ProjectData.GanttChart.LightWPF.Controls.dll)

Syntax

C#
public DateTime AddMonths(
	int value
)
Visual Basic (Declaration)
Public Function AddMonths ( _
	value As Integer _
) As DateTime

Parameters

value
Type: System..::.Int32
A number of months. The value parameter can be negative or positive.

Return Value

A DateTime whose value is the sum of the date represented by this instance and the number of months represented by value.

See Also