共用方式為


Inspectors Collection

Inspectors
Inspector

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 (VBA).

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

The following example shows how to retrieve the Inspectors object in Microsoft Visual Basic Scripting Edition (VBScript).

Set myInspectors= Application.Inspectors

Properties | Application Property | Class Property | Count Property | Parent Property | Session Property

Methods | Add Method | Item Method

Events | NewInspector Event

Parent Objects

Child Objects

See Also | Explorers Object