QDVGantt.EmptyGantt Method

NOTE: This member is now obsolete. Use Qdv.UserApi.IGantt.EmptyGantt instead.

Deletes all tasks in a Gantt, including groups.
[Obsolete("Use Qdv.UserApi.IGantt.EmptyGantt instead.")] 
public bool EmptyGantt( 
bool PostConfirmationMessage
ref int ErrorNumber = 0, 
ref string ErrorMessage = "" 
)
This language is not supported or no code example is available.

Parameters

PostConfirmationMessage
bool

When true, posts a confirmation message saying "X tasks are about to be deleted. Confirm?"

ErrorNumber
int

Optional. The default value is ErrorIDs.OK. Returns the number of the error.

ErrorMessage
string

Optional. The default value is "". Returns the error message.

Return Value

bool

Returns false on when user cancels, false when any error occurs and true when is succeeds.

.NET Framework

Supported in: 4.8, 4.7, 4.6, 4.5.2

In this article

Definition