Düzenle

Aracılığıyla paylaş


ItemEvents_10_Event Interface

Definition

This is a .NET interface created when processing a COM coclass that is required by managed code for interoperability with the corresponding COM object. This interface implements all events of earlier interfaces and any additional new events. Use this interface only when the event you want to use shares the same name as a method of the COM object; in this case, cast to this interface to connect to the event, and cast to the primary interface to call the method. Otherwise, use the .NET interface that is derived from the COM coclass to access methods, properties, and events of the COM object.

public interface class ItemEvents_10_Event
[System.Runtime.InteropServices.ComVisible(false)]
public interface ItemEvents_10_Event
Public Interface ItemEvents_10_Event
Derived
Attributes

Events

AfterWrite

Occurs after Microsoft Outlook has saved the item.

AttachmentAdd

Occurs when an attachment has been added to an instance of the parent object.

AttachmentRead

Occurs when an attachment in an instance of the parent object has been opened for reading.

AttachmentRemove

Occurs when an attachment has been removed from an instance of the parent object.

BeforeAttachmentAdd

Occurs before an attachment is added to an instance of the parent object.

BeforeAttachmentPreview

Occurs before an attachment associated with an instance of the parent object is previewed.

BeforeAttachmentRead

Occurs before an attachment associated with an instance of the parent object is read from the file system, an attachment stream, or an Attachment object.

BeforeAttachmentSave

Occurs just before an attachment is saved.

BeforeAttachmentWriteToTempFile

Occurs before an attachment associated with an instance of the parent object is written to a temporary file.

BeforeAutoSave

Occurs before the item is automatically saved by Outlook.

BeforeCheckNames

Occurs just before Microsoft Outlook starts resolving names in the recipient collection for an item (which is an instance of the parent object).

BeforeDelete

Occurs before an item (which is an instance of the parent object) is deleted.

BeforeRead

Occurs before Microsoft Outlook begins to read the properties for the item.

Close

Occurs when the inspector associated with an item (which is an instance of the parent object) is being closed.

CustomAction

Occurs when a custom action of an item (which is an instance of the parent object) executes.

CustomPropertyChange

Occurs when a custom property of an item (which is an instance of the parent object) is changed.

Forward

Occurs when the user selects the Forward action for an item (which is an instance of the parent object).

Open

Occurs when an instance of the parent object is being opened in an Inspector.

PropertyChange

Occurs when an explicit built-in property of an instance of the parent object is changed.

Read

Occurs when an instance of the parent object is opened for editing by the user.

ReadComplete

Occurs when Outlook has completed reading the properties of the item.

Reply

Occurs when the user selects the Reply action for an item (which is an instance of the parent object).

ReplyAll

Occurs when the user selects the ReplyAll action for an item (which is an instance of the parent object).

Send

Occurs when the user selects the Send action for an item (which is an instance of the parent object).

Unload

Occurs before an Outlook item is unloaded from memory, either programmatically or by user action.

Write

Occurs when an instance of the parent object is saved, either explicitly or implicitly (for example, in response to a prompt when closing the item's inspector).

Applies to