EarnedValueMethodType

EarnedValueMethodType enumeration

Specifies the method used for calculating earned value.

public enum EarnedValueMethodType

Values

Name Value Description
Undefined -1 The field was not defined in original project file.
PercentComplete 0 Percent complete
PhysicalPercentComplete 1 Physical percent complete

Remarks

While exporting into XML the Undefined values will be eliminated from resulting XML.

Examples

Shows how to specify the method used for calculating earned value (EarnedValueMethodType.PercentComplete).

var project = new Project(DataDir + "Project2.mpp");
// set earned value method type to 'PercentComplete'
project.Set(Prj.DefaultTaskEVMethod, EarnedValueMethodType.PercentComplete);
// work with the project...

See Also