LoadProject
PrimaveraBaseReader.LoadProject method
Loads the project with the specified unique identifier.
public Project LoadProject(int projectUid)
Parameter | Type | Description |
---|---|---|
projectUid | Int32 | Unique identifier of the project to load. |
Return Value
Project with specified unique identifier from the specified multi project file. Null if project doesn’t exist.
Examples
Shows how to load a project from a Primavera XML file when project uid is known.
var reader = new PrimaveraXmlReader(DataDir + "PrimaveraProject.xml");
var project = reader.LoadProject(3882);
Console.WriteLine(project.Name);
See Also
- class Project
- class PrimaveraBaseReader
- namespace Aspose.Tasks
- assembly Aspose.Tasks