GetAssociatedTask Method

         Example         Applies To

Returns a TaskItem object that represents the requested task.

Note The GetAssociatedTask method will not work unless the TaskItem is processed before the method is called. There are two options for processing the task.

or,

Syntax

objTaskRequestItem.GetAssociatedTask(AddToTaskList)

objTaskRequestItem   Required. An expression that returns a TaskRequestItem object.

AddToTaskList   Required Boolean. True if the task is added to the default Tasks folder.