GetProjectUids
PrimaveraXmlReader.GetProjectUids method
Return a list of the projects’ unique identifiers.
public List<int> GetProjectUids()
Return Value
List of projects’ unique identifiers.
Examples
Shows how to import a project from a Primavera XML file.
var reader = new PrimaveraXmlReader(DataDir + "primavera.xml");
List<int> projectUids = reader.GetProjectUids();
foreach (var projectUid in projectUids)
{
Console.WriteLine("Project UID: " + projectUid);
}
See Also
- class PrimaveraXmlReader
- namespace Aspose.Tasks
- assembly Aspose.Tasks