Gets the duration value of the specified task item, as the working time difference between Start and Finish values.
You should call Initialize(Boolean, Boolean, Boolean) method before this call.
Namespace:
DlhSoft.Windows.DataAssembly: DlhSoft.ProjectData.Core (in DlhSoft.ProjectData.Core.dll)
Syntax
C# |
---|
public TimeSpan GetDuration( TaskItem item ) |
Visual Basic (Declaration) |
---|
Public Function GetDuration ( _ item As TaskItem _ ) As TimeSpan |
Parameters
- item
- Type: DlhSoft.Windows.Data..::..TaskItem