PropertyPage Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a custom property page in the Options dialog box or in the folder Properties dialog box.
public interface class PropertyPage
[System.Runtime.InteropServices.Guid("0006307E-0000-0000-C000-000000000046")]
public interface PropertyPage
Public Interface PropertyPage
- Attributes
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.
Properties
Dirty |
Returns a Boolean (bool in C#) value that is True if the contents of a custom property page have been altered. The ActiveX control that implements the PropertyPage object sets the value of this property, and Microsoft Outlook queries this in response to the OnStatusChange() method of a PropertyPageSite object. Read-only. |
Methods
Apply() |
Applies the changes that have been made in a custom property page. |
GetPageInfo(String, Int32) |
Returns Help information about a custom property page. |