Partager via


_Conversation Members

Include Protected Members
Include Inherited Members

This is a primary interface in a COM coclass that is required by managed code for interoperability with the corresponding COM object. Use this primary interface only when the method you want to use shares the same name as an event of the COM object; in this case, cast to this interface to call the method, and cast to the latest events interface to connect to the event. Otherwise, use the .NET interface that is derived from the COM coclass to access methods, properties, and events of the COM object. For information about the COM object, see Conversation.

The _Conversation type exposes the following members.

Properties

  Name Description
Public property Application Returns an Application object that represents the parent Microsoft Outlook application for the Conversation object. Read-only.
Public property Class Returns an OlObjectClass constant that indicates the object's class. Read-only.
Public property ConversationID Returns a String (string in C#) that uniquely identifies a Conversation object. Read-only.
Public property Parent Returns the parent Object (object in C#) of the specified Conversation object. Read-only.
Public property Session Returns the NameSpace object for the current session. Read-only.

Top

Methods

  Name Description
Public method ClearAlwaysAssignCategories Removes all categories from all items in the conversation and stops the action of always assigning categories to items in the conversation.
Public method GetAlwaysAssignCategories Returns a String (string in C#) that indicates the category or categories that are assigned to all new items that arrive in the conversation.
Public method GetAlwaysDelete Returns a constant in the OlAlwaysDeleteConversation enumeration that indicates whether all new items that join the conversation are always moved to the Deleted Items folder in the specified delivery store.
Public method GetAlwaysMoveToFolder Returns a Folder object that indicates the folder in the specified delivery store to which new items that arrive in the conversation are always moved.
Public method GetChildren Returns a SimpleItems collection that contains all items under the specified conversation node.
Public method GetParent Returns the parent item of the specified node in the conversation.
Public method GetRootItems Returns a SimpleItems collection that contains all root items in the conversation.
Public method GetTable Returns a Table object that contains rows that represent all items in the conversation.
Public method MarkAsRead Marks all items in the conversation as read.
Public method MarkAsUnread Marks all items in the conversation as unread.
Public method SetAlwaysAssignCategories Applies one or more categories to all existing items and future items of the conversation.
Public method SetAlwaysDelete Specifies a setting for the specified delivery store that indicates whether all existing items and all new items that arrive in the conversation are always moved to the Deleted Items folder in the specified delivery store.
Public method SetAlwaysMoveToFolder Sets a Folder object that indicates the folder to which all existing conversation items and new items that arrive in the conversation are always moved.
Public method StopAlwaysDelete Stops the action of always moving conversation items in the specified store to the Deleted Items folder in that store.
Public method StopAlwaysMoveToFolder Stops the action of always moving conversation items in the specified store to a specific folder.

Top

See Also

Reference

_Conversation Interface

Microsoft.Office.Interop.Outlook Namespace