_TaskRequestAcceptItem.GetConversation Method
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.
Obtains a Conversation object that represents the conversation to which this item belongs.
public:
Microsoft::Office::Interop::Outlook::Conversation ^ GetConversation();
public Microsoft.Office.Interop.Outlook.Conversation GetConversation();
Public Function GetConversation () As Conversation
Returns
Returns a Conversation object that represents the conversation to which this item belongs.
Remarks
GetConversation returns Nothing (a null reference (Nothing in Visual Basic) in C#) if no conversation exists for the item. No conversation exists for an item in the following scenarios:
The item has not been saved. An item can be saved programmatically, by user action, or by auto-save.
For an item that can be sent (for example, a mail item, appointment item, or contact item), the item has not been sent.
Conversations have been disabled through the Windows registry.
The store does not support the conversation view (for example, Outlook is running in classic online mode against a version of Microsoft Exchange earlier than Microsoft Exchange Server 2010). Use the IsConversationEnabled property of the Store object to determine whether the store supports the conversation view.