_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)
Syntax
'Declaration
<DispIdAttribute()> _
ReadOnly Property ConversationID As String
Get
'Usage
Dim instance As _MailItem
Dim value As String
value = instance.ConversationID
[DispIdAttribute()]
string ConversationID { get; }
Property Value
Type: System.String
Remarks
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.