OlMarkInterval Enum
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.
Specifies the time period for which an Outlook item is marked as a task.
public enum class OlMarkInterval
public enum OlMarkInterval
Public Enum OlMarkInterval
- Inheritance
-
OlMarkInterval
Fields
olMarkComplete | 5 | Mark the task as complete. |
olMarkNextWeek | 3 | Mark the task due next week. |
olMarkNoDate | 4 | Mark the task due with no date. |
olMarkThisWeek | 2 | Mark the task due this week. |
olMarkToday | 0 | Mark the task due today. |
olMarkTomorrow | 1 | Mark the task due tomorrow. |
Remarks
This enumeration is used by the MarkAsTask method for the following Outlook items:
Depending on the value chosen, the following properties are set to the specified default values.
Enumeration value | Property values | |
olMarkComplete | TaskCompletedDate is set to the current date and time (Now in Visual Basic) if the item has been marked as a task. TaskCompletedDate is set to the empty date value (#1/1/4501#) if the item has not been marked as a task, or if the task has already been marked complete. | |
olMarkNoDate | IsMarkedAsTask is set to True. TaskSubject is set to the value of the Subject property for the Outlook item. TaskStartDate, TaskDueDate, and TaskCompletedDate are set to Nothing (a null reference (Nothing in Visual Basic) in C#).ToDoTaskOrdinal is set to the current date and time (Now in Visual Basic). | |
olMarkNextWeek | IsMarkedAsTask is set to True. TaskSubject is set to the value of the Subject property for the Outlook item. TaskStartDate is set to the first working day of next week. TaskDueDate is set to the last working day of next week. TaskCompletedDate is set to Nothing (a null reference (Nothing in Visual Basic) in C#).ToDoTaskOrdinal is set to the current date and time (Now in Visual Basic). | |
olMarkThisWeek | IsMarkedAsTask is set to True. TaskSubject is set to the value of the Subject property for the Outlook item. TaskStartDate is set to a date two working days ahead of the current date. If that value would exceed the value of TaskDueDate, then TaskStartDate is set to the value of TaskDueDate. TaskDueDate is set to the last working day of the current week. TaskCompletedDate is set to Nothing (a null reference (Nothing in Visual Basic) in C#).ToDoTaskOrdinal is set to the current date and time (Now in Visual Basic). | |
olMarkToday | IsMarkedAsTask is set to True. TaskSubject is set to the value of the Subject property for the Outlook item. TaskStartDate and TaskDueDate are set to the current date. TaskCompletedDate is set to Nothing (a null reference (Nothing in Visual Basic) in C#). ToDoTaskOrdinal is set to the current date and time (Now in Visual Basic). | |
olMarkTomorrow | IsMarkedAsTask is set to True. TaskSubject is set to the value of the Subject property for the Outlook item. TaskStartDate and TaskDueDate are set to one day after the current date. TaskCompletedDate is set to Nothing (a null reference (Nothing in Visual Basic) in C#). ToDoTaskOrdinal is set to the current date and time (Now in Visual Basic). |