PrimaveraReadOptions.UndefinedConstraintHandlingBehavior
PrimaveraReadOptions.UndefinedConstraintHandlingBehavior property
Specifies the behavior used to process tasks with undefined constraints read from XER format.
public UndefinedConstraintHandlingBehavior UndefinedConstraintHandlingBehavior { get; set; }
Examples
Shows how to load Primavera project with the specified Id using <see cref=“LoadOptions” />.
var loadOptions = new LoadOptions();
var primaveraOptions = new PrimaveraReadOptions()
{
ProjectUid = 3882,
UndefinedConstraintHandlingBehavior = UndefinedConstraintHandlingBehavior.None,
PreserveUids = true
};
// set Primavera reading options
loadOptions.PrimaveraReadOptions = primaveraOptions;
var project = new Project(DataDir + "PrimaveraProject.xml", loadOptions);
Console.WriteLine("Project Name: " + project.Get(Prj.Name));
// work with the project...
See Also
- enum UndefinedConstraintHandlingBehavior
- class PrimaveraReadOptions
- namespace Aspose.Tasks
- assembly Aspose.Tasks