Enum BaselineType

BaselineType enumeration

Specifies the baseline type used to calculate Variance values.

public enum BaselineType

Values

NameValueDescription
Undefined-1Indicates the field was not defined in original project file.
Baseline0Indicates Baseline type.
Baseline11Indicates Baseline1 type.
Baseline22Indicates Baseline2 type.
Baseline33Indicates Baseline3 type.
Baseline44Indicates Baseline4 type.
Baseline55Indicates Baseline5 type.
Baseline66Indicates Baseline6 type.
Baseline77Indicates Baseline7 type.
Baseline88Indicates Baseline8 type.
Baseline99Indicates Baseline9 type.
Baseline1010Indicates Baseline10 type.

Remarks

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

Examples

Shows how to set baseline for the project (BaselineType.Baseline).

var project = new Project(DataDir + "Project2.mpp");
// save baseline fields to the specified baseline for the entire project.
project.SetBaseline(BaselineType.Baseline);
// work with project's baselines...

See Also