Edit

Bagikan melalui


DocumentInspector Interface

Definition

Represents a Document Inspector module in a DocumentInspectors collection.

public interface class DocumentInspector : Microsoft::Office::Core::_IMsoDispObj
[System.Runtime.InteropServices.Guid("000C0393-0000-0000-C000-000000000046")]
public interface DocumentInspector : Microsoft.Office.Core._IMsoDispObj
[<System.Runtime.InteropServices.Guid("000C0393-0000-0000-C000-000000000046")>]
type DocumentInspector = interface
    interface _IMsoDispObj
Public Interface DocumentInspector
Implements _IMsoDispObj
Attributes
Implements

Remarks

DocumentInspector object provides access to the Inspect(MsoDocInspectorStatus, String) and Fix(MsoDocInspectorStatus, String) methods. The DocumentInspector object represents custom Document Inspector modules and some "built-in" options. To see the list of built-in options, open the Document Inspector dialog box from the File menu. The first two options (Comments, Revisions, Versions, and Annotations; Document Properties and Personal Information) are not listed in the DocumentInspectors collection; instead their functionality is available through the RemoveDocumentInformation method. The remaining options in the dialog box and any installed custom modules developed by third-party sources are available from the DocumentInspectors collection by specifying an index value.

Properties

Application

Gets an _Application object that represents the creator of the DocumentInspector object. Read-only.

Creator

Gets a 32-bit integer that indicates the application in which the DocumentInspector object was created. Read-only.

Description

Gets the description of the DocumentInspector object. Read-only.

Name

Gets the name of the module represented by a DocumentInspector object. Read-only.

Parent

Gets an object that represents the parent of the DocumentInspector object. Read-only.

Methods

Fix(MsoDocInspectorStatus, String)

Performs an action on specific information items or document properties depending on the Document Inspector module specified.

Inspect(MsoDocInspectorStatus, String)

Inspects a document for specific information or document properties.

Applies to