QDVWBS.CreateNewSubTask Method

NOTE: This member is now obsolete. Use Qdv.UserApi.ITask.CreateNewSubTask or Qdv.UserApi.IWbs.CreateNewSubTask instead.

Creates a new sub-task below mentioned task, at the depth level of the mentioned task + 1.
[Obsolete("Use Qdv.UserApi.ITask.CreateNewSubTask or Qdv.UserApi.IWbs.CreateNewSubTask instead.")] 
public string CreateNewSubTask( 
string FromTaskIndex
ref int ErrorNumber = 0, 
ref string ErrorMessage = "" 
)
This language is not supported or no code example is available.

Parameters

FromTaskIndex
string

The 24 characters Hex index of the task from which you want the new task to be created.

ErrorNumber
int

Optional. May return an error number. 0 means no error.

ErrorMessage
string

Optional. May return an error message. A blank string means no error.

Return Value

string

Returns Hex ID of the newly created task.

Remarks
 
The function neither rebuild WBS nor minutes. You must call QDVEstimate.Check_And_Repaint method after any change brought by the function.

.NET Framework

Supported in: 4.8, 4.7, 4.6, 4.5.2

In this article

Definition