ApplicationEvents_11_Event.OptionsPagesAdd Event

Definition

Occurs whenever the user clicks the Add-in Options button on the Add-ins tab of the Outlook Options dialog box.

public:
 event Microsoft::Office::Interop::Outlook::ApplicationEvents_11_OptionsPagesAddEventHandler ^ OptionsPagesAdd;
event Microsoft.Office.Interop.Outlook.ApplicationEvents_11_OptionsPagesAddEventHandler OptionsPagesAdd;
Event OptionsPagesAdd As ApplicationEvents_11_OptionsPagesAddEventHandler 

Event Type

Remarks

Your program handles this event to add a custom property page. The property page will be added to the Options dialog box. When the event fires, the PropertyPages collection object identified by Pages contains the property pages that have been added prior to the event handler being called. To add your property page to the collection, use the Add(Object, String) method of the PropertyPages collection before exiting the event handler.

Applies to