Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.