G
Guest
why am I not allowed to intanstiate a new task item?
TaskItem task_DC = new TaskItemClass();
This is the erro I get when building:
error CS0122:
'Microsoft.Office.Interop.Outlook.TaskItemClass.TaskItemClass()' is
inaccessible due to its protection level
TaskItem task_DC = new TaskItemClass();
This is the erro I get when building:
error CS0122:
'Microsoft.Office.Interop.Outlook.TaskItemClass.TaskItemClass()' is
inaccessible due to its protection level