I have investigated further, and realised there is some iteration after which is causing the delay.
A snippet of the iteration is:
foreach (MsProject.LookupTableEntry entry in outlineCode.LookupTable)
{
if (entry.Name.Equals(value))
{
application.ActiveProject.ProjectSummaryTask.SetFi eld(
application.FieldNameToFieldConstant(fieldName, MsProject.PjFieldType.pjTask),
entry.FullName
);
found = true;
break;
}
}
Is there anything I could do to speed up the process? Any help would be appreciated.
Thanks
|