PrimaveraXmlReadingOptions Class

Allows to specify additional options when reading Primavera Xml files.
Inheritance Hierarchy
SystemObject
  Aspose.TasksPrimaveraXmlReadingOptions

Namespace:  Aspose.Tasks
Assembly:  Aspose.Tasks (in Aspose.Tasks.dll) Version: 21.10
Syntax
public class PrimaveraXmlReadingOptions

The PrimaveraXmlReadingOptions type exposes the following members.

Constructors
  NameDescription
Public methodCode examplePrimaveraXmlReadingOptions
Initializes a new instance of the PrimaveraXmlReadingOptions class.
Properties
  NameDescription
Public propertyCode exampleProjectUid
Gets or sets the UID of a project to read from file containing multiple projects.
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Examples
Shows how to read a project from a Primavera XML file with multiple projects.
var options = new PrimaveraXmlReadingOptions();
options.ProjectUid = 4557;

// Returns project with special Uid
var project = new Project(DataDir + "Project.xml", options);
Console.WriteLine(project.Get(Prj.Name));
See Also