Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

ProjectTaskCollection

Namespace OfficeIMO.Project
Assembly OfficeIMO.Project
Implements
IReadOnlyList<ProjectTask> IReadOnlyCollection<ProjectTask> IEnumerable<ProjectTask> IEnumerable
Modifiers sealed
Attributes
DefaultMember("Item")

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

Methods

public ProjectTask Add(String name) #
Returns: ProjectTask

Appends a task with a new stable UID.

Parameters

name System.String requiredposition: 0
public ProjectTask AddSummary(String name) #
Returns: ProjectTask

Appends a summary, which can contain child tasks.

Parameters

name System.String requiredposition: 0
public ProjectTask GetByUid(Int32 uid) #
Returns: ProjectTask

Finds a task by UID in the whole document, not by row number.

Parameters

uid System.Int32 requiredposition: 0
public virtual IEnumerator<ProjectTask> GetEnumerator() #
Returns: IEnumerator<ProjectTask>
public Boolean Remove(ProjectTask task, ProjectRemovalMode mode = RejectIfReferenced) #
Returns: Boolean

Removes an immediate task with an explicit relationship policy.

Parameters

task OfficeIMO.Project.ProjectTask requiredposition: 0
mode OfficeIMO.Project.ProjectRemovalMode = RejectIfReferenced optionalposition: 1

Properties

public virtual Int32 Count { get; } #

Number of immediate tasks.

public virtual ProjectTask this[Int32 index] { get; } #

Immediate task by zero-based position.

Parameters

arg1 System.Int32 requiredposition: 0