Modifica

Condividi tramite


Window.Close(Object, Object) Method

Definition

Closes the specified window.

public void Close (ref object SaveChanges, ref object RouteDocument);
abstract member Close : obj * obj -> unit
Public Sub Close (Optional ByRef SaveChanges As Object, Optional ByRef RouteDocument As Object)

Parameters

SaveChanges
Object

Optional Object. Specifies the save action for the document. Can be one of the following WdSaveOptions constants: wdDoNotSaveChanges, wdPromptToSaveChanges, or wdSaveChanges.

RouteDocument
Object

Optional Object. True to route the document to the next recipient. If the document doesn't have a routing slip attached, this argument is ignored.

Applies to