Asn.StartVariance

Asn.StartVariance field

The variance of an assignment start date from a baseline start date.

public static readonly Key<Duration, AsnKey> StartVariance;

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