Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

ProjectDependencyCollection

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

Task links owned by a project.

Inheritance

  • Object
  • ProjectDependencyCollection

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 ProjectDependency Add(ProjectTask predecessor, ProjectTask successor, ProjectDependencyType type = FinishToStart) #
Returns: ProjectDependency

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

Parameters

predecessor OfficeIMO.Project.ProjectTask requiredposition: 0
successor OfficeIMO.Project.ProjectTask requiredposition: 1
type OfficeIMO.Project.ProjectDependencyType = FinishToStart optionalposition: 2
public virtual IEnumerator<ProjectDependency> GetEnumerator() #
Returns: IEnumerator<ProjectDependency>
public Boolean Remove(ProjectDependency dependency) #
Returns: Boolean

Removes a relationship without removing either task.

Parameters

dependency OfficeIMO.Project.ProjectDependency requiredposition: 0

Properties

public virtual Int32 Count { get; } #

Number of relationships.

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

Relationship by position.

Parameters

arg1 System.Int32 requiredposition: 0