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
Syntax
public bool SaveRootTask { get; set; }

Property Value

Type: Boolean
Examples
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