_MailItem.TaskStartDate Property

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

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

Syntax

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

value = instance.TaskStartDate

instance.TaskStartDate = value
[DispIdAttribute()]
DateTime TaskStartDate { 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

How to: Create a Task Item