Share via


_PostItem.ToDoTaskOrdinal Property

Returns or sets a DateTime value that represents the ordinal value of the task for the PostItem. Read/write.

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

Syntax

'Declaration
Property ToDoTaskOrdinal As DateTime
    Get
    Set
'Usage
Dim instance As _PostItem
Dim value As DateTime

value = instance.ToDoTaskOrdinal

instance.ToDoTaskOrdinal = value
DateTime ToDoTaskOrdinal { get; set; }

Property Value

Type: System.DateTime

Remarks

This property returns Nothing (a null reference (Nothing in Visual Basic) in C#) if the IsMarkedAsTask property is set to False.

This property is used to indicate how the task should be ordered within the parent groups, such as the Today group or the Tomorrow group, of the To-Do Bar. The value used in this property does not have any relation to the values of the TaskStartDate, TaskDueDate, or TaskCompletedDate properties.

See Also

Reference

_PostItem Interface

_PostItem Members

Microsoft.Office.Interop.Outlook Namespace