PrimaveraReadOptions class

Allows to specify additional options when reading Primavera Xml or Primavera Xer files.

public class PrimaveraReadOptions


Name Description
PrimaveraReadOptions() Initializes a new instance of the PrimaveraReadOptions class.


Name Description
PreserveUids { get; set; } Gets or sets a flag that specifies whether original unique identifiers of entities should be preserved.
ProjectUid { get; set; } Gets or sets the UID of a project to read from file containing multiple projects.
UndefinedConstraintHandlingBehavior { get; set; } Specifies the behavior used to process tasks with undefined constraints read from XER format.


Shows how to read a project from a Primavera XML or Primavera XER file containing multiple projects.

var options = new PrimaveraReadOptions();
options.ProjectUid = 4557;

// Returns project with special Uid
var project = new Project(DataDir + "Project.xml", options);

See Also