J
jov
Hi All,
currently I use the following code to get and manipulate individual
tasks within the collection:
object MSPtasks = projectApp.InvokeMember("Tasks",
BindingFlags.DeclaredOnly |
BindingFlags.Public | BindingFlags.NonPublic |
BindingFlags.Instance | BindingFlags.InvokeMethod,
null, openProject, null);
foreach (object MSPtask in ((System.Collections.IEnumerable)MSPtasks))
{
//do stuff
}
however I would like to be able to index tasks directly in the
collection this functionality is not provided by the IEnumerable
interface does anyone have a suggestion as to how I could do this, or
another .Net object I could use with the Tasks collection?
thanks,
John
currently I use the following code to get and manipulate individual
tasks within the collection:
object MSPtasks = projectApp.InvokeMember("Tasks",
BindingFlags.DeclaredOnly |
BindingFlags.Public | BindingFlags.NonPublic |
BindingFlags.Instance | BindingFlags.InvokeMethod,
null, openProject, null);
foreach (object MSPtask in ((System.Collections.IEnumerable)MSPtasks))
{
//do stuff
}
however I would like to be able to index tasks directly in the
collection this functionality is not provided by the IEnumerable
interface does anyone have a suggestion as to how I could do this, or
another .Net object I could use with the Tasks collection?
thanks,
John