次の方法で共有


ItemsEvents_Event Members

Include Protected Members
Include Inherited Members

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.

The ItemsEvents_Event type exposes the following members.

Events

  Name Description
Public event 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.
Public event ItemChange Occurs when an item in the specified collection is changed.
Public event 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.

Top

See Also

Reference

ItemsEvents_Event Interface

Microsoft.Office.Interop.Outlook Namespace