Partager via


PropertyPageSite Interface

Represents the container of a custom property page.

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

Syntax

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

Remarks

Use the Parent property of the ActiveX control that implements the PropertyPage object associated with the PropertyPageSite object to return the PropertyPageSite object. The Declarations section of the module implementing the PropertyPage object must contain a declaration similar to the following.

Private myPropertyPageSite As Outlook.PropertyPageSite
private Outlook.PropertyPageSite myPropertyPageSite;

The object is then returned from the Parent property of the ActiveX control.

myPropertyPageSite = Parent
myPropertyPageSite = Parent;

Use the OnStatusChange method to notify Microsoft Outlook that the property page has changed.

See Also

Reference

PropertyPageSite Members

Microsoft.Office.Interop.Outlook Namespace