Edit

Share via


IDocumentInspector.Fix(Object, Int32, MsoDocInspectorStatus, String) Method

Definition

Performs some action on specific information items or document properties by using a custom Document Inspector module.

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

Parameters

Doc
Object

Specifies nn object representing the container object.

hwnd
Int32

Specifies the unique identifier of the active document window.

Status
MsoDocInspectorStatus

Specifies an enumeration that indicates the status of the action.

Result
String

Contains the results of the action.

Remarks

The following table describes MsoDocInspectorStatus members.

msoDocInspectorStatusDocOk 0
msoDocInspectorStatusIssueFound 1
msoDocInspectorStatusError 2

Applies to