_MailItem.ClearTaskFlag Method
Clears the MailItem object as a task.
Namespace: Microsoft.Office.Interop.Outlook
Assembly: Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)
Syntax
'Declaration
<DispIdAttribute()> _
Sub ClearTaskFlag
'Usage
Dim instance As _MailItem
instance.ClearTaskFlag()
[DispIdAttribute()]
void ClearTaskFlag()
Remarks
Calling this method sets the IsMarkedAsTask property to False.