Share via


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

Syntax

'Declaration
Property TaskDueDate As DateTime
    Get
    Set
'Usage
Dim instance As _MailItem
Dim value As DateTime

value = instance.TaskDueDate

instance.TaskDueDate = value
DateTime TaskDueDate { 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