Inspectors Collection Object

Inspectors Collection Object

See Also                  Properties         Methods         Events

Application object
Inspectors collection (Inspector object)
Multiple objects

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

Using the Inspectors Collection Object

Use the Inspectors property to return the Inspectors collection from the Application object. The following example shows how to retrieve the Inspectors collection 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 collection in VBScript.

Set myInspectors= Application.Inspectors