Partager via


PropertyPage Interface

Represents a custom property page in the Options dialog box or in the folder Properties dialog box.

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

Syntax

'Declaration
<TypeLibTypeAttribute()> _
<GuidAttribute("0006307E-0000-0000-C000-000000000046")> _
Public Interface PropertyPage
'Usage
Dim instance As PropertyPage
[TypeLibTypeAttribute()]
[GuidAttribute("0006307E-0000-0000-C000-000000000046")]
public interface PropertyPage

Remarks

Outlook uses this object to allow a custom property page to interact with the Apply button in the dialog box.

The PropertyPage object is an abstract object. That is, the PropertyPage object in the Microsoft Outlook Object Library contains no implementation code. Instead, it is provided as a template to help you implement the object in Microsoft Visual Basic. This provides a predefined set of interfaces that Outlook can use to determine whether your custom property page has changed and to notify your program that the user has clicked the Apply or OK button. (If your custom property page does not rely on the Apply button, then you do not need to implement the PropertyPage object.)

A custom property page is an ActiveX control that is displayed by Outlook in the Options dialog box or in the folder Properties dialog box when the user clicks on the custom property page’s tab. To implement the PropertyPage object in Visual Basic .NET, the module that contains the implementation code must contain the following Implements statement.

Implements Outlook.PropertyPage

The module must also contain procedures that implement the properties and methods of the PropertyPage object.

See Also

Reference

PropertyPage Members

Microsoft.Office.Interop.Outlook Namespace