Share via


Inspectors Object

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

Application
Aa158708.parchild(en-us,office.10).gifInspectors
Aa158708.space(en-us,office.10).gifAa158708.parchild(en-us,office.10).gif

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