Modifica

Condividi tramite


NameSpaceEvents_Event.OptionsPagesAdd Event

Definition

Occurs whenever the Properties dialog box for a folder is opened.

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

Event Type

Remarks

You can open the Properties dialog box for a folder by right-clicking the folder and selecting Properties.

Your program handles this event to add a custom property page. The property page will be added to Properties dialog box of the specified folder. 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