[]
        
(Showing Draft Content)

C1.GanttView.Task.SplitTask

SplitTask Method

SplitTask(DateTime, double)

Splits the task.

Declaration
public override bool SplitTask(DateTime start, double duration)
Parameters
Type Name Description
DateTime start

The beginning of suspension.

double duration

The duration of suspension.

Returns
Type Description
bool

True if the splitting is succeeded, false otherwise.

Overrides

SplitTask(double[])

Splits the task.

Declaration
public bool SplitTask(double[] durations)
Parameters
Type Name Description
double[] durations

The alternating durations of work and suspension periods. The array must contain the odd number of values.

Returns
Type Description
bool

True if the splitting is succeeded, false otherwise.