Class
ProjectAssignmentCollection
OfficeIMO.Project
Resource assignments owned by the project.
Inheritance
- object
- ProjectAssignmentCollection
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.Assignments
Methods
public ProjectAssignment Add(ProjectTask task, ProjectResource resource, ProjectUnits? units = null) #Adds an assignment between entities from this document.
Parameters
- task OfficeIMO.Project.ProjectTask
- resource OfficeIMO.Project.ProjectResource
- units OfficeIMO.Project.ProjectUnits? = null
Returns
ProjectAssignmentpublic ProjectAssignment GetByUid(int uid) #Finds an assignment by stable UID.
Parameters
- uid int
Returns
ProjectAssignmentpublic IEnumerator<ProjectAssignment> GetEnumerator() #Returns an enumerator that iterates through the collection.
Returns
IEnumerator<ProjectAssignment> An enumerator that can be used to iterate through the collection.public bool Remove(ProjectAssignment assignment) #Removes an assignment while retaining its task and resource.
Parameters
- assignment OfficeIMO.Project.ProjectAssignment
Returns
bool