Inspectors Object

Microsoft Outlook Visual Basic

Inspectors Object

         
Application Inspectors
Multiple objects

The Inspectors object contains a set of Inspector objects representing all inspectors. An inspector need not be visible to be included in the collection.

Using the Inspectors Object

Use the Inspectors property to return the Inspectors object from the Application object. The following example shows how to retrieve the Inspectors object in Microsoft Visual Basic or Microsoft Visual Basic for Applications.

Dim myOlApp as New Outlook.Application
Set myInspectors = myOLApp.Inspectors

The following example shows how to retrieve the Inspectors object in VBScript.

Set myInspectors= Application.Inspectors