Click to Rate and Give Feedback
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)

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

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.

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker