Subtracts the specified date and time from this instance.

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

Syntax

C#
public TimeSpan Subtract(
	DateTime value
)
Visual Basic (Declaration)
Public Function Subtract ( _
	value As DateTime _
) As TimeSpan

Parameters

value
Type: System..::.DateTime
An instance of DateTime.

Return Value

A TimeSpan interval equal to the date represented by this instance minus the date and time represented by value.

See Also