Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

ProjectDependencyCollection

OfficeIMO.Project

Namespace
OfficeIMO.Project
Assembly
OfficeIMO.Project
Source revision
ba882f6b0d07 with working tree changes
Implements
IReadOnlyList<ProjectDependency> IReadOnlyCollection<ProjectDependency> IEnumerable<ProjectDependency> IEnumerable
Modifiers
sealed
Attributes
DefaultMember("Item")

Task links owned by a project.

Inheritance

  • object
  • ProjectDependencyCollection

Usage

Explore 1 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 1

Methods

public ProjectDependency Add(ProjectTask predecessor, ProjectTask successor, ProjectDependencyType type = FinishToStart) #

Adds a local task dependency after checking identities and duplicate links.

Parameters

predecessor OfficeIMO.Project.ProjectTask required
successor OfficeIMO.Project.ProjectTask required
type OfficeIMO.Project.ProjectDependencyType = FinishToStart optional
public IEnumerator<ProjectDependency> GetEnumerator() #

Returns an enumerator that iterates through the collection.

Returns

IEnumerator<ProjectDependency> An enumerator that can be used to iterate through the collection.
public bool Remove(ProjectDependency dependency) #

Removes a relationship without removing either task.

Parameters

dependency OfficeIMO.Project.ProjectDependency required

Returns

bool

Properties

public int Count { get; } #

Number of relationships.

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

Relationship by position.

Parameters

index int required