Enum EarnedValueMethodType

EarnedValueMethodType enumeration

Specifies the method used for calculating earned value.

public enum EarnedValueMethodType

Values

NameValueDescription
Undefined-1The field was not defined in original project file.
PercentComplete0Percent complete
PhysicalPercentComplete1Physical 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