TskPercentWorkComplete Field |
The current status of a task expressed as the percentage of work that has been completed.
Namespace:
Aspose.Tasks
Assembly:
Aspose.Tasks (in Aspose.Tasks.dll) Version: 21.10
Syntaxpublic static readonly Key<int, TaskKey> PercentWorkComplete
Public Shared ReadOnly PercentWorkComplete As Key(Of Integer, TaskKey)
public:
static initonly Key<int, TaskKey> PercentWorkComplete
static val PercentWorkComplete: Key<int, TaskKey>
Field Value
Type:
KeyInt32,
TaskKey
ExamplesShows how to read/write Tsk.PercentWorkComplete property.
var project = new Project();
var task = project.RootTask.Children.Add("Task");
task.Set(Tsk.PercentWorkComplete, 10);
Console.WriteLine("Percent Work Complete: " + task.Get(Tsk.PercentWorkComplete));
See Also