Enum TaskUsageViewField

TaskUsageViewField enumeration

Represents possible fields in TaskUsageView object.

public enum TaskUsageViewField

Values

NameValueDescription
Undefined-1Indicates Undefined task usage view field.
Work0Indicates Work task usage view field.
OvertimeWork1Indicates Overtime Work task usage view field.
ActualWork2Indicates Actual Work task usage view field.
ActualOvertimeWork3Indicates Actual Overtime Work task usage view field.
CumulativeWork4Indicates Cumulative Work task usage view field.
BaselineWork5Indicates Baseline Work task usage view field.
Overallocation6Indicates Overallocation task usage view field.
PercentAllocation7Indicates Percent Allocation task usage view field.
PeakUnits8Indicates Peak Units task usage view field.
Cost9Indicates Cost task usage view field.
FixedCost10Indicates Fixed Cost task usage view field.
ActualCost11Indicates Actual Cost task usage view field.
BaselineCost12Indicates Baseline Cost task usage view field.
CumulativeCost13Indicates Cumulative Cost task usage view field.
BCWS14Indicates BCWS task usage view field.
BCWP15Indicates BCWP task usage view field.
ACWP16Indicates ACWP task usage view field.
SV17Indicates SV task usage view field.
CV18Indicates CV task usage view field.
RegularWork19Indicates Regular Work task usage view field.
PercentComplete20Indicates Percent Complete task usage view field.
CumulativePercentComplete21Indicates Cumulative Percent Complete task usage view field.
Baseline1Work22Indicates Baseline1 Work task usage view field.
Baseline1Cost23Indicates Baseline1 Cost task usage view field.
Baseline2Work24Indicates Baseline2 Work task usage view field.
Baseline2Cost25Indicates Baseline2 Cost task usage view field.
Baseline3Work26Indicates Baseline3 Work task usage view field.
Baseline3Cost27Indicates Baseline3 Cost task usage view field.
Baseline4Work28Indicates Baseline4 Work task usage view field.
Baseline4Cost29Indicates Baseline4 Cost task usage view field.
Baseline5Work30Indicates Baseline5 Work task usage view field.
Baseline5Cost31Indicates Baseline5 Cost task usage view field.
Baseline6Work32Indicates Baseline6 Work task usage view field.
Baseline6Cost33Indicates Baseline6 Cost task usage view field.
Baseline7Work34Indicates Baseline7 Work task usage view field.
Baseline7Cost35Indicates Baseline7 Cost task usage view field.
Baseline8Work36Indicates Baseline8 Work task usage view field.
Baseline8Cost37Indicates Baseline8 Cost task usage view field.
Baseline9Work38Indicates Baseline9 Work task usage view field.
Baseline9Cost39Indicates Baseline9 Cost task usage view field.
Baseline10Work40Indicates Baseline10 Work task usage view field.
Baseline10Cost41Indicates Baseline10 Cost task usage view field.
ActualFixedCost42Indicates Actual Fixed Cost task usage view field.
CPI43Indicates CPI task usage view field.
SPI44Indicates SPI task usage view field.
CVPercent45Indicates CV Percent task usage view field.
SVPercent46Indicates SV Percent task usage view field.
BudgetWork47Indicates Budget Work task usage view field.
BudgetCost48Indicates Budget Cost task usage view field.
BaselineBudgetWork49Indicates Baseline Budget Work task usage view field.
BaselineBudgetCost50Indicates Baseline Budget Cost task usage view field.
Baseline1BudgetWork51Indicates Baseline1 Budget Work task usage view field.
Baseline1BudgetCost52Indicates Baseline1 Budget Cost task usage view field.
Baseline2BudgetWork53Indicates Baseline2 Budget Work task usage view field.
Baseline2BudgetCost54Indicates Baseline2 Budget Cost task usage view field.
Baseline3BudgetWork55Indicates Baseline3 Budget Work task usage view field.
Baseline3BudgetCost56Indicates Baseline3 Budget Cost task usage view field.
Baseline4BudgetWork57Indicates Baseline4 Budget Work task usage view field.
Baseline4BudgetCost58Indicates Baseline4 Budget Cost task usage view field.
Baseline5BudgetWork59Indicates Baseline5 Budget Work task usage view field.
Baseline5BudgetCost60Indicates Baseline5 Budget Cost task usage view field.
Baseline6BudgetWork61Indicates Baseline6 Budget Work task usage view field.
Baseline6BudgetCost62Indicates Baseline6 Budget Cost task usage view field.
Baseline7BudgetWork63Indicates Baseline7 Budget Work task usage view field.
Baseline7BudgetCost64Indicates Baseline7 Budget Cost task usage view field.
Baseline8BudgetWork65Indicates Baseline8 Budget Work task usage view field.
Baseline8BudgetCost66Indicates Baseline8 Budget Cost task usage view field.
Baseline9BudgetWork67Indicates Baseline9 Budget Work task usage view field.
Baseline9BudgetCost68Indicates Baseline9 Budget Cost task usage view field.
Baseline10BudgetWork69Indicates Baseline10 Budget Work task usage view field.
Baseline10BudgetCost70Indicates Baseline10 Budget Cost task usage view field.
AllTaskRows71Indicates All Task Rows task usage view field.
AllAssignmentRows72Indicates All Assignment Rows task usage view field.

Examples

Shows how to work field collection of a TaskUsageView instance.

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

var view = (TaskUsageView)project.Views.ToList()[2];
foreach (var field in view.FieldCollection)
{
    Console.WriteLine("Field: " + field);
}

// one can transform collection into a list of TaskUsageViewField
IList<TaskUsageViewField> fields = view.FieldCollection.ToList();
foreach (var field in fields)
{
    Console.WriteLine("Field (from the list): " + field);
}

See Also