Project.ResourceAssignments

Project.ResourceAssignments property

Gets ResourceAssignmentCollection object.

public ResourceAssignmentCollection ResourceAssignments { get; }

Examples

Shows how to work with resource assignments.

var project = new Project();

// Add new task and resource
var task = project.RootTask.Children.Add("Task");
var resource = project.Resources.Add("Rsc");

// Assign the resource desired task
project.ResourceAssignments.Add(task, resource);

See Also