ApplicationEvents_11_Event.OptionsPagesAdd Event (Microsoft.Office.Interop.Outlook)
Occurs whenever the Options dialog box (on the Tools menu) or a folder Properties dialog box is opened.

Namespace: Microsoft.Office.Interop.Outlook
Assembly: Microsoft.Office.Interop.Outlook (in microsoft.office.interop.outlook.dll)
Syntax

Visual Basic (Declaration)
Event OptionsPagesAdd As ApplicationEvents_11_OptionsPagesAddEventHandler
Visual Basic (Usage)
Dim instance As ApplicationEvents_11_Event
Dim handler As ApplicationEvents_11_OptionsPagesAddEventHandler

AddHandler instance.OptionsPagesAdd, handler
C#
event ApplicationEvents_11_OptionsPagesAddEventHandler OptionsPagesAdd
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 method of the PropertyPages collection before exiting the event handler.

See Also

Tags :


Page view tracker