Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

ProjectAssignmentCollection

OfficeIMO.Project

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

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

Methods

public ProjectAssignment Add(ProjectTask task, ProjectResource resource, ProjectUnits? units = null) #

Adds an assignment between entities from this document.

Parameters

task OfficeIMO.Project.ProjectTask required
resource OfficeIMO.Project.ProjectResource required
units OfficeIMO.Project.ProjectUnits? = null optional
public ProjectAssignment GetByUid(int uid) #

Finds an assignment by stable UID.

Parameters

uid int required
public 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 required

Returns

bool

Properties

public int Count { get; } #

Number of assignments.

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

Assignment by position.

Parameters

index int required