IWbs.GetTask Method

Gets the existing task by its ITask.HexID.
Function GetTask( _ 
ByVal hexId As String
) As ITask
This language is not supported or no code example is available.
ITask GetTask( 
string hexId 
)
This language is not supported or no code example is available.

Parameters

hexId
string

The 24 characters long hexadecimal unique identifier of the task/branch.

Return Value

ITask

The task with specified hex ID. null reference (Nothing in Visual Basic) if not found.

Remarks
 

This method searches all already created tasks. Only when a task exists and it is not invalid, it is returned.

The special hexId with values "YYYYYYYYYYYYYYYYYYYYYYYY" and "ZZZZZZZZZZZZZZZZZZZZZZZZ" are not supported. They represent the database of the estimate and the overhead minute. If you want to get their minutes, use IEstimateVersion.DatabaseOfEstimateMinute and IEstimateVersion.OverheadCostsMinute.

Version
 
Available since QDV 7.13.0001.

.NET Framework

Supported in: 4.8, 4.7, 4.6, 4.5.2

In this article

Definition