Поделиться через


Document.Close Method

Closes the document.

Namespace:  Microsoft.Office.Tools.Word
Assembly:  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