TaskLink.LinkLagTimeSpan

TaskLink.LinkLagTimeSpan property

Gets or sets lag duration, depending on LagFormat.

public TimeSpan LinkLagTimeSpan { get; set; }

Exceptions

exceptioncondition
ArgumentExceptionWhen trying to set the value for TaskLinks where LagFormat is TimeUnitType.Percent.

Remarks

Link lag can be a percentage value (LagFormat is TimeUnitType.Percent). In this case the duration is calculated as a percentage of PredTask’s duration. Otherwise the method returns TimeSpan value representing TaskLink’s lag.

See Also