_Document.Merge Method
Merges the changes marked with revision marks from one document to another.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
Sub Merge ( _
FileName As String, _
ByRef MergeTarget As Object, _
ByRef DetectFormatChanges As Object, _
ByRef UseFormattingFrom As Object, _
ByRef AddToRecentFiles As Object _
)
'Usage
Dim instance As _Document
Dim FileName As String
Dim MergeTarget As Object
Dim DetectFormatChanges As Object
Dim UseFormattingFrom As Object
Dim AddToRecentFiles As Object
instance.Merge(FileName, MergeTarget, _
DetectFormatChanges, UseFormattingFrom, _
AddToRecentFiles)
void Merge(
string FileName,
ref Object MergeTarget,
ref Object DetectFormatChanges,
ref Object UseFormattingFrom,
ref Object AddToRecentFiles
)
Parameters
- FileName
Type: System.String
Required String.
- MergeTarget
Type: System.Object%
Optional WdMergeTarget.
- DetectFormatChanges
Type: System.Object%
Optional Boolean.
- UseFormattingFrom
Type: System.Object%
Optional WdUseFormattingFrom.
- AddToRecentFiles
Type: System.Object%
Optional Boolean.