Class
ProjectDependencyCollection
OfficeIMO.Project
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
- Property ProjectDocument.Dependencies
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
- successor OfficeIMO.Project.ProjectTask
- type OfficeIMO.Project.ProjectDependencyType = FinishToStart
Returns
ProjectDependencypublic 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
Returns
bool