_PostItem.MarkAsTask Method

Marks a PostItem object as a task and assigns a task interval for the object.

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

void MarkAsTask(
	OlMarkInterval MarkInterval


Type: Microsoft.Office.Interop.Outlook.OlMarkInterval

The task interval for the PostItem.

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.