PrimaveraXmlSaveOptions.SaveRootTask

PrimaveraXmlSaveOptions.SaveRootTask property

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

public bool SaveRootTask { get; set; }

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