Tsk.ActualOvertimeWorkProtected

Tsk.ActualOvertimeWorkProtected field

The duration through which actual overtime work is protected.

public static readonly Key<Duration, TaskKey> ActualOvertimeWorkProtected;

Examples

Shows how to read/write Tsk.ActualOvertimeWorkProtected property.

var project = new Project();
project.Set(Prj.WorkFormat, TimeUnitType.Day);

var task = project.RootTask.Children.Add("Task");

task.Set(Tsk.ActualOvertimeWorkProtected, project.GetWork(1));

Console.WriteLine("Actual Overtime Work Protected: " + task.Get(Tsk.ActualOvertimeWorkProtected));

See Also