Adds the specified number of years to the value of this instance.
Namespace:
DlhSoft.Windows.DataAssembly: DlhSoft.ProjectData.GanttChart.LightWPF.Controls (in DlhSoft.ProjectData.GanttChart.LightWPF.Controls.dll)
Syntax
C# |
---|
public DateTime AddYears( int value ) |
Visual Basic (Declaration) |
---|
Public Function AddYears ( _ value As Integer _ ) As DateTime |
Parameters
- value
- Type: System..::.Int32
A number of years. The value parameter can be negative or positive.