DocumentClass.Compare Method
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
Public Overridable Sub Compare ( _
Name As String, _
ByRef AuthorName As Object, _
ByRef CompareTarget As Object, _
ByRef DetectFormatChanges As Object, _
ByRef IgnoreAllComparisonWarnings As Object, _
ByRef AddToRecentFiles As Object, _
ByRef RemovePersonalInformation As Object, _
ByRef RemoveDateAndTime As Object _
)
'Usage
Dim instance As DocumentClass
Dim Name As String
Dim AuthorName As Object
Dim CompareTarget As Object
Dim DetectFormatChanges As Object
Dim IgnoreAllComparisonWarnings As Object
Dim AddToRecentFiles As Object
Dim RemovePersonalInformation As Object
Dim RemoveDateAndTime As Object
instance.Compare(Name, AuthorName, CompareTarget, _
DetectFormatChanges, IgnoreAllComparisonWarnings, _
AddToRecentFiles, RemovePersonalInformation, _
RemoveDateAndTime)
public virtual void Compare(
string Name,
ref Object AuthorName,
ref Object CompareTarget,
ref Object DetectFormatChanges,
ref Object IgnoreAllComparisonWarnings,
ref Object AddToRecentFiles,
ref Object RemovePersonalInformation,
ref Object RemoveDateAndTime
)
Parameters
- Name
Type: System.String
- AuthorName
Type: System.Object%
- CompareTarget
Type: System.Object%
- DetectFormatChanges
Type: System.Object%
- IgnoreAllComparisonWarnings
Type: System.Object%
- AddToRecentFiles
Type: System.Object%
- RemovePersonalInformation
Type: System.Object%
- RemoveDateAndTime
Type: System.Object%
Implements
_Document.Compare(String, Object%, Object%, Object%, Object%, Object%, Object%, Object%)