IWbs.GetTasksForScope Method

Gets all tasks within the specified scope.
Function GetTasksForScope( _ 
ByVal Scope As String, _ 
Optional ByVal GetAlsoChapters As Boolean = False _ 
) As List(Of ITask)
This language is not supported or no code example is available.
List<ITask> GetTasksForScope( 
string Scope
bool GetAlsoChapters = False 
)
This language is not supported or no code example is available.

Parameters

Scope
string

A search scope, which is a sub-tree in the WBS tree. Each node in the WBS tree has a unique ITask.HexID which identifies its position. A scope is the mask that specifies the search subtree. All retrieved tasks must have the ID that starts with the scope. For example, if the scope is '001003', the search will be performed on the third sub-node of the WBS root node; and all its children recursively. An empty string means entire WBS tree.

GetAlsoChapters
bool

Indicates whether chapters (branches) should be included in the result.

Return Value

List<ITask>

The list of tasks within the scope.

Version
 
Available since QDV 7.13.0001.

.NET Framework

Supported in: 4.8, 4.7, 4.6, 4.5.2

In this article

Definition