Düzenle

Aracılığıyla paylaş


Pages Interface

Definition

Contains pages that represent the pages of an Inspector window.

public interface class Pages : System::Collections::IEnumerable
[System.Runtime.InteropServices.Guid("0006303F-0000-0000-C000-000000000046")]
public interface Pages : System.Collections.IEnumerable
Public Interface Pages
Implements IEnumerable
Attributes
Implements

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(Object) 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.

Properties

Application

Returns an Application object that represents the parent Outlook application for the object. Read-only.

Class

Returns an OlObjectClass constant indicating the object's class. Read-only.

Count

Returns an Integer (int in C#) value indicating the count of objects in the specified collection. Read-only.

Item[Object]

Returns a page from a collection.

Parent

Returns the parent Object of the specified object. Read-only.

Session

Returns the NameSpace object for the current session. Read-only.

Methods

Add(Object)

Creates a new page in the Pages collection.

Remove(Int32)

Removes an object from the collection.

Applies to