PrimaveraXmlSaveOptionsSaveRootTask Property

Gets or sets a value indicating whether to save a root task or not.

Namespace:  Aspose.Tasks.Saving
Assembly:  Aspose.Tasks (in Aspose.Tasks.dll) Version: 21.4
public bool SaveRootTask { get; set; }

Property Value

Type: Boolean
Shows how to export the to Primavera XML file.
var project = new Project(DataDir + "project.xml");

var options = new PrimaveraXmlSaveOptions();
options.SaveRootTask = false;
project.Save(OutDir + "UsingPrimaveraXMLSaveOptions_out.xml", options);
See Also