Rediger

Del via


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

Events

ViewAdd

Occurs when a view is added to the collection. Microsoft Outlook creates the new view and passes it to this event.

ViewRemove

Occurs when a view has been removed from the specified collection.

Applies to