Partager via


_TableView.ShowConversationByDate Property

Returns or sets a Boolean (bool in C#) value that indicates whether items in a conversation are vertically left-aligned and ordered by the received date and time, with the most recent item on top. Read/write.

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

Syntax

'Declaration
<DispIdAttribute()> _
Property ShowConversationByDate As Boolean
    Get
    Set
'Usage
Dim instance As _TableView
Dim value As Boolean

value = instance.ShowConversationByDate

instance.ShowConversationByDate = value
[DispIdAttribute()]
bool ShowConversationByDate { get; set; }

Property Value

Type: System.Boolean

Remarks

If the table view is not organized by conversation, setting the ShowConversationByDate property does not reorganize any items in the view. To display items by conversation, in the Conversations group of the View tab in the Microsoft Office Fluent ribbon, check Show as Conversations.

Setting the ShowConversationByDate property to True vertically left-aligns conversation items and orders them by their received date and time, with the most recent item on top. This organization in the conversation view is the same as having cleared the Use Classic Indented View setting in the Conversations Settings menu in the Conversations group of the ribbon.

Setting the ShowConversationByDate property to False indents conversation items and orders them by their received date and time with the earliest item on top. The root of each thread of the conversation is displayed first, followed by items belonging to that thread, each left-indented from the last. This organization in the conversation view is the same as having selected the Use Classic Indented View setting in the Conversations Settings menu in the Conversations group of the ribbon.

To apply a change to the ShowConversationByDate property, call the Apply() method. Conversations are then displayed as collapsed in the conversation view. If you expand a conversation, you will see items in the conversation reorganized and displayed the way you set the ShowConversationByDate property.

See Also

Reference

_TableView Interface

_TableView Members

Microsoft.Office.Interop.Outlook Namespace

Other Resources

How to: Get and Enumerate Selected Conversations