OutlineCode.FieldId
OutlineCode.FieldId property
Gets or sets the number value of the project Id custom field.
public string FieldId { get; set; }
Examples
Shows how to read task’s outline codes.
var project = new Project(DataDir + "OutlineValues2010.mpp");
// read outline codes
foreach (var task in project.RootTask.SelectAllChildTasks())
{
if (task.OutlineCodes.Count <= 0)
{
continue;
}
Console.WriteLine("Print outline codes of the task: " + task.Get(Tsk.Name));
foreach (var value in task.OutlineCodes)
{
Console.WriteLine(" Field Id: " + value.FieldId);
Console.WriteLine(" Value Guid: " + value.ValueGuid);
Console.WriteLine(" Value Id: " + value.ValueId);
}
}
See Also
- class OutlineCode
- namespace Aspose.Tasks
- assembly Aspose.Tasks