OutlineCode.ValueGuid
Contents
[
Hide
]OutlineCode.ValueGuid property
Gets or sets the GUID of the value in the value list. The ValueGuid matches the FieldGuid in the value list.
public string ValueGuid { 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