NameSpaceEvents_OptionsPagesAddEventHandler Delegate
This is a delegate for an event in the corresponding object. After implementing a callback method for the event, use this delegate to connect the callback method to the event. If there are multiple versions of the event interface, this delegate connects the callback method for the event in the specified version of Outlook.
Namespace: Microsoft.Office.Interop.Outlook
Assembly: Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)
Syntax
'Declaration
<ComVisibleAttribute(False)> _
Public Delegate Sub NameSpaceEvents_OptionsPagesAddEventHandler ( _
Pages As PropertyPages, _
Folder As MAPIFolder _
)
'Usage
Dim instance As New NameSpaceEvents_OptionsPagesAddEventHandler(AddressOf HandlerMethod)
[ComVisibleAttribute(false)]
public delegate void NameSpaceEvents_OptionsPagesAddEventHandler(
PropertyPages Pages,
MAPIFolder Folder
)
Parameters
- Pages
Type: Microsoft.Office.Interop.Outlook.PropertyPages
The collection of property pages that have been added to the dialog box. This collection includes only custom property pages. It does not include standard Microsoft Outlook property pages.
- Folder
Type: Microsoft.Office.Interop.Outlook.MAPIFolder
This argument is only used with the Folder object. The Folder object for which the Properties dialog box is being opened.