Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

ProjectAssignmentCollection

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

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

Methods

public ProjectAssignment Add(ProjectTask task, ProjectResource resource, Nullable<ProjectUnits> units = null) #
Returns: ProjectAssignment

Adds an assignment between entities from this document.

Parameters

task OfficeIMO.Project.ProjectTask requiredposition: 0
resource OfficeIMO.Project.ProjectResource requiredposition: 1
units System.Nullable{OfficeIMO.Project.ProjectUnits} = null optionalposition: 2
public ProjectAssignment GetByUid(Int32 uid) #
Returns: ProjectAssignment

Finds an assignment by stable UID.

Parameters

uid System.Int32 requiredposition: 0
public virtual IEnumerator<ProjectAssignment> GetEnumerator() #
Returns: IEnumerator<ProjectAssignment>
public Boolean Remove(ProjectAssignment assignment) #
Returns: Boolean

Removes an assignment while retaining its task and resource.

Parameters

assignment OfficeIMO.Project.ProjectAssignment requiredposition: 0

Properties

public virtual Int32 Count { get; } #

Number of assignments.

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

Assignment by position.

Parameters

arg1 System.Int32 requiredposition: 0