API Reference
Class
ProjectTaskCollection
Immediate tasks in an outline, with lookup by stable UID across the document.
Inheritance
- Object
- ProjectTaskCollection
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Property ProjectDocument.Tasks
- Property ProjectTask.Children
Methods
public ProjectTask Add(String name) #Returns:
ProjectTaskAppends a task with a new stable UID.
Parameters
- name System.String
public ProjectTask AddSummary(String name) #Returns:
ProjectTaskAppends a summary, which can contain child tasks.
Parameters
- name System.String
public ProjectTask GetByUid(Int32 uid) #Returns:
ProjectTaskFinds a task by UID in the whole document, not by row number.
Parameters
- uid System.Int32
public virtual IEnumerator<ProjectTask> GetEnumerator() #Returns:
IEnumerator<ProjectTask>public Boolean Remove(ProjectTask task, ProjectRemovalMode mode = RejectIfReferenced) #Returns:
BooleanRemoves an immediate task with an explicit relationship policy.
Parameters
- task OfficeIMO.Project.ProjectTask
- mode OfficeIMO.Project.ProjectRemovalMode = RejectIfReferenced
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object