IDocumentInspector.Inspect Method
Inspects a document for specific information items or document properties by using a custom Document Inspector module.
Namespace: Microsoft.Office.Core
Assembly: office (in office.dll)
Syntax
'Declaration
Sub Inspect ( _
Doc As Object, _
<OutAttribute> ByRef Status As MsoDocInspectorStatus, _
<OutAttribute> ByRef Result As String, _
<OutAttribute> ByRef Action As String _
)
'Usage
Dim instance As IDocumentInspector
Dim Doc As Object
Dim Status As MsoDocInspectorStatus
Dim Result As String
Dim Action As String
instance.Inspect(Doc, Status, Result, Action)
void Inspect(
Object Doc,
out MsoDocInspectorStatus Status,
out string Result,
out string Action
)
Parameters
Doc
Type: System.ObjectAn object representing the container document.
Status
Type: Microsoft.Office.Core.MsoDocInspectorStatusAn MsoDocInspectorStatus value that represents the results of the inspection.
Result
Type: System.StringContains a list of the information items or document properties found in the document.
Action
Type: System.StringIndicates to the user what action to take based on the results of the inspection.