Edit

Share via


ItemsEvents_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 ItemsEvents_Event
[System.Runtime.InteropServices.ComVisible(false)]
public interface ItemsEvents_Event
Public Interface ItemsEvents_Event
Derived
Attributes

Events

ItemAdd

Occurs when one or more items are added to the specified collection. This event does not run when a large number of items are added to the folder at once.

ItemChange

Occurs when an item in the specified collection is changed.

ItemRemove

Occurs when an item is deleted from the specified collection. This event does not run when the last item in a Personal Folders file (.pst) is deleted, or if 16 or more items are deleted at once from a PST file, Microsoft Exchange mailbox, or an Exchange public folder.

Applies to