Asn.WorkVariance

Asn.WorkVariance field

The difference between baseline work of a task and the currently scheduled work.

public static readonly Key<Duration, AsnKey> WorkVariance;

Examples

Shows how to read assignment’s variances.

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

// Print assignment variances
foreach (var ra in project.ResourceAssignments)
{
    Console.WriteLine(ra.Get(Asn.WorkVariance));
    Console.WriteLine(ra.Get(Asn.CostVariance));
    Console.WriteLine(ra.Get(Asn.StartVariance));
    Console.WriteLine(ra.Get(Asn.FinishVariance));
}

See Also