TaskRequestDeclineItem.GetAssociatedTask method (Outlook)
Returns a TaskItem object that represents the requested task.
expression A variable that represents a TaskRequestDeclineItem object.
|AddToTaskList||Required||Boolean||True if the task is added to the default Tasks folder.|
A TaskItem object that represents the requested task.
The GetAssociatedTask method will not work unless the TaskItem is processed before the method is called. To do so, call the Display method before calling GetAssociatedTask.
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.