Tsk.WBSLevel
Tsk.WBSLevel field
The rightmost WBS level of a task.
public static readonly Key<string, TaskKey> WBSLevel;
Examples
Shows how to read task’s WBS codes.
var project = new Project(DataDir + "TaskWBS.mpp");
var collector = new ChildTasksCollector();
TaskUtils.Apply(project.RootTask, collector, 0);
// Parse through all the collected tasks
foreach (var task in collector.Tasks)
{
Console.WriteLine(task.Get(Tsk.WBS));
Console.WriteLine(task.Get(Tsk.WBSLevel));
}
See Also
- struct Key<T,K>
- enum TaskKey
- class Tsk
- namespace Aspose.Tasks
- assembly Aspose.Tasks