編輯

共用方式為


_Conversation Interface

Definition

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.

public interface class _Conversation
[System.Runtime.InteropServices.Guid("00063101-0000-0000-C000-000000000046")]
public interface _Conversation
Public Interface _Conversation
Derived
Attributes

Properties

Application

Returns an Application object that represents the parent Microsoft Outlook application for the Conversation object. Read-only.

Class

Returns an OlObjectClass constant that indicates the object's class. Read-only.

ConversationID

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

Parent

Returns the parent Object (object in C#) of the specified Conversation object. Read-only.

Session

Returns the NameSpace object for the current session. Read-only.

Methods

ClearAlwaysAssignCategories(Store)

Removes all categories from all items in the conversation and stops the action of always assigning categories to items in the conversation.

GetAlwaysAssignCategories(Store)

Returns a String (string in C#) that indicates the category or categories that are assigned to all new items that arrive in the conversation.

GetAlwaysDelete(Store)

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.

GetAlwaysMoveToFolder(Store)

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.

GetChildren(Object)

Returns a SimpleItems collection that contains all items under the specified conversation node.

GetParent(Object)

Returns the parent item of the specified node in the conversation.

GetRootItems()

Returns a SimpleItems collection that contains all root items in the conversation.

GetTable()

Returns a Table object that contains rows that represent all items in the conversation.

MarkAsRead()

Marks all items in the conversation as read.

MarkAsUnread()

Marks all items in the conversation as unread.

SetAlwaysAssignCategories(String, Store)

Applies one or more categories to all existing items and future items of the conversation.

SetAlwaysDelete(OlAlwaysDeleteConversation, Store)

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.

SetAlwaysMoveToFolder(MAPIFolder, Store)

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.

StopAlwaysDelete(Store)

Stops the action of always moving conversation items in the specified store to the Deleted Items folder in that store.

StopAlwaysMoveToFolder(Store)

Stops the action of always moving conversation items in the specified store to a specific folder.

Applies to