_MailItem.MarkAsTask(OlMarkInterval) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Marks a MailItem object as a task and assigns a task interval for the object.
public:
void MarkAsTask(Microsoft::Office::Interop::Outlook::OlMarkInterval MarkInterval);
public void MarkAsTask (Microsoft.Office.Interop.Outlook.OlMarkInterval MarkInterval);
Public Sub MarkAsTask (MarkInterval As OlMarkInterval)
Parameters
- MarkInterval
- OlMarkInterval
The task interval for the MailItem.
Remarks
Calling this method sets the value of several other properties, depending on the value provided in MarkInterval
. For more information about the properties set by specifying MarkInterval
, see OlMarkInterval.