DataCategory Enumeration

The category of data used when saving to CSV.

Namespace:  Aspose.Tasks.Saving
Assembly:  Aspose.Tasks (in Aspose.Tasks.dll) Version: 20.12
Syntax
public enum DataCategory
Members
  Member nameValueDescription
Tasks0 Tasks information.
Resources1 Resources information.
Assignments2 Assignments information.
Examples
Shows how to use <see cref="Aspose.Tasks.Saving.CsvOptions" /> to save a project as CSV file.
var project = new Project(DataDir + "EstimatedMilestoneTasks.mpp");
var options = new CsvOptions
                  {
                      DataCategory = DataCategory.Resources, TextDelimiter = CsvTextDelimiter.Semicolon, Encoding = Encoding.Unicode, IncludeHeaders = true
                  };
project.Save(OutDir + "WorkWithCsvOptions_out.csv", options);
See Also