This documentation is archived and is not being maintained.

_MailItem.TaskDueDate Property

Returns or sets a DateTime value that represents the due date of the task for this MailItem. Read/write.

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

'Declaration
<DispIdAttribute()> _
Property TaskDueDate As DateTime
	Get
	Set
'Usage
Dim instance As _MailItem
Dim value As DateTime

value = instance.TaskDueDate

instance.TaskDueDate = value

Property Value

Type: System.DateTime

This property returns Nothing (a null reference (Nothing in Visual Basic) in C#) if the IsMarkedAsTask property is set to False.

Show: