Resume

Asn.Resume field

The date when assignment is resumed.

public static readonly Key<DateTime, AsnKey> Resume;

Examples

Shows how to read assignment’s stop/resume dates.

var project = new Project(DataDir + "ResourceAssignmentStopResumeDates.mpp");

// Print resource assignment's stop and resume dates
foreach (var ra in project.ResourceAssignments)
{
    Console.WriteLine(ra.Get(Asn.Stop).ToShortDateString() == "1/1/2000" ? "NA" : ra.Get(Asn.Stop).ToShortDateString());
    Console.WriteLine(ra.Get(Asn.Resume).ToShortDateString() == "1/1/2000" ? "NA" : ra.Get(Asn.Resume).ToShortDateString());
}

See Also