Adds the specified number of hours 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 AddHours(
	double value
)
Visual Basic (Declaration)
Public Function AddHours ( _
	value As Double _
) As DateTime

Parameters

value
Type: System..::.Double
A number of whole and fractional hours. 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 hours represented by value.

See Also