Compartir a través de


Task.DurationFormat Enumeration

Specifies the format type for a task duration.

Namespace:  Microsoft.Office.Project.Server.Library
Assembly:  Microsoft.Office.Project.Server.Library (in Microsoft.Office.Project.Server.Library.dll)

Syntax

'Declaration
Public Enumeration DurationFormat
'Usage
Dim instance As Task.DurationFormat
public enum DurationFormat

Members

Member name Description
Minute Value=3. Minutes.
EMinute Value=4. Elapsed minutes.
Hour Value=5. Hours.
EHour Value=6. Elapsed hours.
Day Value=7. Days.
EDay Value=8. Elapsed days.
Week Value=9. Weeks.
EWeek Value=10. Elapsed weeks.
Month Value=11. Months.
EMonth Value=12. Elapsed months.
Percent Value=19. Percentage.
EPercent Value=20. Elapsed percentage.
Null Value=21. No value.
EstMinute Value=35. Estimated minutes.
EEstMinute Value=36. Elapsed estimated minutes.
EstHour Value=37. Estimated hours.
EEstHour Value=38. Elapsed estimated hours.
EstDay Value=39. Estimated days.
EEstDay Value=40. Elapsed estimated days.
EstWeek Value=41. Estimated weeks.
EEstWeek Value=42. Elapsed estimated weeks.
EstMonth Value=43. Estimated months.
EEstMonth Value=44. Elapsed estimated months.
EstPercent Value=51. Estimated percentage.
EEstPercent Value=52. Elapsed estimated percentage.
None Value=53. No display format.

Remarks

The Task.DurationFormat type indicates the time unit to use when displaying the duration, whether the duration is estimated, and whether the duration is using elapsed time. This field is used when duration is displayed throughout Microsoft Project Professional and Project Server.

Use the Task.DurationFormat type to set the TASK_DUR_FORMAT property in the following objects:

See Also

Reference

Microsoft.Office.Project.Server.Library Namespace