Share via


Document.Close Method

Closes the document.

Namespace:  Microsoft.Office.Tools.Word
Assemblies:   Microsoft.Office.Tools.Word.v4.0.Utilities (in Microsoft.Office.Tools.Word.v4.0.Utilities.dll)
  Microsoft.Office.Tools.Word (in Microsoft.Office.Tools.Word.dll)

Syntax

'Declaration
Sub Close ( _
    ByRef SaveChanges As Object, _
    ByRef OriginalFormat As Object, _
    ByRef RouteDocument As Object _
)
void Close(
    ref Object SaveChanges,
    ref Object OriginalFormat,
    ref Object RouteDocument
)

Parameters

  • RouteDocument
    Type: System.Object%

    true to route the document to the next recipient. If the document does not have a routing slip attached, this argument is ignored.

Remarks

Optional Parameters

For information on optional parameters, see Optional Parameters in Office Solutions.

.NET Framework Security

See Also

Reference

Document Interface

Microsoft.Office.Tools.Word Namespace