Pages.Add Method
Creates a new page in the Pages collection.
Namespace: Microsoft.Office.Interop.Outlook
Assembly: Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)
Syntax
'Declaration
<DispIdAttribute()> _
Function Add ( _
Name As Object _
) As Object
'Usage
Dim instance As Pages
Dim Name As Object
Dim returnValue As Object
returnValue = instance.Add(Name)
[DispIdAttribute()]
Object Add(
Object Name
)
Parameters
Name
Type: System.ObjectThe name of the page.
Return Value
Type: System.Object
A Page object that represents the new page.
Remarks
The Pages collection is initially empty, and there is a limit of 5 customizable pages per collection.