_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)

Syntax

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

value = instance.TaskCompletedDate

instance.TaskCompletedDate = value
[DispIdAttribute()]
DateTime TaskCompletedDate { get; set; }

Property Value

Type: System.DateTime

Remarks

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

See Also

Reference

_MailItem Interface

_MailItem Members

Microsoft.Office.Interop.Outlook Namespace

Other Resources

How to: Filter and Display Computed Properties When Enumerating Items in a Folder