Compartir a través de


Pages Interface

Contains pages that represent the pages of an Inspector window.

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

Syntax

'Declaration
<TypeLibTypeAttribute()> _
<GuidAttribute("0006303F-0000-0000-C000-000000000046")> _
<DefaultMemberAttribute("Item")> _
Public Interface Pages _
    Inherits IEnumerable
'Usage
Dim instance As Pages
[TypeLibTypeAttribute()]
[GuidAttribute("0006303F-0000-0000-C000-000000000046")]
[DefaultMemberAttribute("Item")]
public interface Pages : IEnumerable

Remarks

Every Inspector object has a Pages object defined, which is empty (count 0) if the Outlook item has never been customized before.

Use the ModifiedFormPages property to return the Pages object from an Inspector object.

Use the Add method to create a custom page (you can add as many as 5 customizable pages). Use the Name argument of the Add method to set the display name of the returned page. In addition to adding custom pages, you can use the Name argument to return the main page of an Inspector object for modification.

Use ModifiedFormPages(index), where index is the name or index number, to return a single page from a Pages object.

See Also

Reference

Pages Members

Microsoft.Office.Interop.Outlook Namespace