Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

ProjectTaskCollection

OfficeIMO.Project

Namespace
OfficeIMO.Project
Assembly
OfficeIMO.Project
Source revision
ba882f6b0d07 with working tree changes
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

Explore 2 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by 2

Methods

public ProjectTask Add(string name) #

Appends a task with a new stable UID.

Parameters

name string required
public ProjectTask AddSummary(string name) #

Appends a summary, which can contain child tasks.

Parameters

name string required
public ProjectTask GetByUid(int uid) #

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

Parameters

uid int required
public IEnumerator<ProjectTask> GetEnumerator() #

Returns an enumerator that iterates through the collection.

Returns

IEnumerator<ProjectTask> An enumerator that can be used to iterate through the collection.
public bool Remove(ProjectTask task, ProjectRemovalMode mode = RejectIfReferenced) #

Removes an immediate task with an explicit relationship policy.

Parameters

task OfficeIMO.Project.ProjectTask required
mode OfficeIMO.Project.ProjectRemovalMode = RejectIfReferenced optional

Returns

bool

Properties

public int Count { get; } #

Number of immediate tasks.

public ProjectTask this[int index] { get; } #

Immediate task by zero-based position.

Parameters

index int required