Add Method (PropertyPages Collection)

Add Method (PropertyPages Collection)

See Also         Example         Applies To        

Adds a new custom property page to the Microsoft Outlook Options dialog box or to the folder Properties dialog box.

Syntax

object.Add(Page[, Caption])

object   Required. An expression that returns a PropertyPages collection object.

Page   Required Variant. The property page being added to the dialog box.

Caption   Optional. String. The caption to be displayed on the property-page tab.

Remarks

Page can be a PropertyPage object or a String containing the OLE programmatic identifier of the ActiveX control that implements the custom property page. If Page is a PropertyPage object, the property page must be implemented in an in-process DLL. If it is a programmatic identifier, then the property page can also be implemented in a stand-alone executable file or Microsoft Visual Basic for Applications program.