ProjectDataSet.TaskRow.TASK_DUR_FMT Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The task duration format indicates the display format of the duration value, and whether the duration is considered an estimate rather than a firm value.
public:
property int TASK_DUR_FMT { int get(); void set(int value); };
public int TASK_DUR_FMT { get; set; }
member this.TASK_DUR_FMT : int with get, set
Public Property TASK_DUR_FMT As Integer
Property Value
Remarks
Task.DurationFormat is an enumeration that contains the valid values for this field. Cast the enumerated value to an int for storage in this property. Assigning a value to this field affects
TASK_DUR_IS_EST. For example, if you assign the value of EstDay to this field, TASK_DUR_IS_EST returns true.
Note: When creating a TaskRow object, you must specify TASK_DUR_FMT. Otherwise, later use of the project in Project Professional can result in unpredictable behavior, including possible data loss.
| 3 | Minute | Minutes | No |
| 4 | EMinute | Elapsed minutes | No |
| 5 | Hour | Hours | No |
| 6 | EHour | Elapsed hours | No |
| 7 | Day | Days | No |
| 8 | EDay | Elapsed days | No |
| 9 | Week | Weeks | No |
| 10 | EWeek | Elapsed weeks | No |
| 11 | Month | Months | No |
| 12 | EMonth | Elapsed months | No |
| 19 | Percent | Percentage | No |
| 20 | EPercent | Elapsed percentage | No |
| 21 | Null | No value | No |
| 37 | EstHour | Estimated hours | Yes |
| 38 | EEstHour | Elapsed estimated hours | Yes |
| 39 | EstDay | Estimated days | Yes |
| 40 | EEstDay | Elapsed estimated days | Yes |
| 41 | EstWeek | Estimated weeks | Yes |
| 42 | EEstWeek | Elapsed estimated weeks | Yes |
| 43 | EstMonth | Estimated month | Yes |
| 44 | EEstMonth | Elapsed estimated months | Yes |
| 51 | EstPercent | Estimated percentage | Yes |
| 52 | EEstPercent | Elapsed estimated percentage | Yes |
| 53 | None | No display format | Yes |