ConversationID Property
Collapse the table of content
Expand the table of content
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

_MailItem.ConversationID Property

Returns a String (string in C#) that uniquely identifies a Conversation object that the MailItem object belongs to. Read-only.

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

string ConversationID { get; }

Property Value

Type: System.String

This property associates items with a conversation. These items and the conversation all have the same value in their ConversationID property.

This property corresponds with the MAPI property PidTagConversationId.

If the MailItem object is created in a version of Microsoft Outlook earlier than Microsoft Outlook 2010, or if Outlook is running in online mode against a version of Microsoft Exchange Server earlier than Microsoft Exchange Server 2010, this property returns the same value as the ConversationTopic property.

© 2015 Microsoft