Share via


_TaskItem.Assign Method

Assigns a task and returns a TaskItem object that represents it.

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

Syntax

'Declaration
<DispIdAttribute()> _
Function Assign As TaskItem
'Usage
Dim instance As _TaskItem
Dim returnValue As TaskItem

returnValue = instance.Assign()
[DispIdAttribute()]
TaskItem Assign()

Return Value

Type: Microsoft.Office.Interop.Outlook.TaskItem
A TaskItem object that represents the task.

Remarks

This method allows a task to be assigned (delegated) to another user. You must create a task before you can assign it, and you must assign a task before you can send it. An assigned task is sent as a TaskRequestItem object.

See Also

Reference

_TaskItem Interface

_TaskItem Members

Microsoft.Office.Interop.Outlook Namespace

Other Resources

How to: Assign a Task to a Recipient