ResourceUsageView.FieldCollection

ResourceUsageView.FieldCollection property

Gets the ResourceUsageViewFieldCollection object of this ResourceUsageView.

public ResourceUsageViewFieldCollection FieldCollection { get; }

Examples

Shows how to read resource usage view fields.

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

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

See Also