次の方法で共有


ConversationHeader.GetConversation Method (Outlook)

Obtains a Conversation object that represents the conversation to which this conversation header belongs.

Version Information

Version Added: Outlook 2010

Syntax

expression .GetConversation

expression A variable that represents a ConversationHeader object.

Return Value

A Conversation object that represents the conversation to which this conversation header belongs.

Remarks

GetConversation returns Null (Nothing in Visual Basic) 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 are disabled through the Windows registry.

  • The store does not support Conversation view (for example, Outlook is running in classic online mode against a version of Microsoft Exchange that is earlier than Microsoft Exchange Server 2010). Use the IsConversationEnabled property of the Store object to determine whether the store supports Conversation view.

See Also

Concepts

ConversationHeader Object

ConversationHeader Object Members