Edit

Share via


IDocumentInspector.Inspect Method

Definition

Inspects a document for specific information items or document properties by using a custom Document Inspector module.

public:
 void Inspect(System::Object ^ Doc, [Runtime::InteropServices::Out] Microsoft::Office::Core::MsoDocInspectorStatus % Status, [Runtime::InteropServices::Out] System::String ^ % Result, [Runtime::InteropServices::Out] System::String ^ % Action);
public void Inspect (object Doc, out Microsoft.Office.Core.MsoDocInspectorStatus Status, out string Result, out string Action);
abstract member Inspect : obj * MsoDocInspectorStatus * string * string -> unit
Public Sub Inspect (Doc As Object, ByRef Status As MsoDocInspectorStatus, ByRef Result As String, ByRef Action As String)

Parameters

Doc
Object

An object representing the container document.

Status
MsoDocInspectorStatus

An MsoDocInspectorStatus value that represents the results of the inspection.

Result
String

Contains a list of the information items or document properties found in the document.

Action
String

Indicates to the user what action to take based on the results of the inspection.

Applies to