API Reference
Class
ProjectAssignmentCollection
Resource assignments owned by the project.
Inheritance
- Object
- ProjectAssignmentCollection
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
- Property ProjectDocument.Assignments
Methods
public ProjectAssignment Add(ProjectTask task, ProjectResource resource, Nullable<ProjectUnits> units = null) #Returns:
ProjectAssignmentAdds an assignment between entities from this document.
Parameters
- task OfficeIMO.Project.ProjectTask
- resource OfficeIMO.Project.ProjectResource
- units System.Nullable{OfficeIMO.Project.ProjectUnits} = null
public ProjectAssignment GetByUid(Int32 uid) #Returns:
ProjectAssignmentFinds an assignment by stable UID.
Parameters
- uid System.Int32
public virtual IEnumerator<ProjectAssignment> GetEnumerator() #Returns:
IEnumerator<ProjectAssignment>public Boolean Remove(ProjectAssignment assignment) #Returns:
BooleanRemoves an assignment while retaining its task and resource.
Parameters
- assignment OfficeIMO.Project.ProjectAssignment
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object