This documentation is archived and is not being maintained.

_MailItem.TaskCompletedDate Property

Returns or sets a DateTime value that represents the completion 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)

<DispIdAttribute()> _
Property TaskCompletedDate As DateTime
Dim instance As _MailItem
Dim value As DateTime

value = instance.TaskCompletedDate

instance.TaskCompletedDate = 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.