Closes all open windows.
Syntax
object.CloseAll [SaveChanges]
object
An expression that evaluates to a Windows object.
SaveChanges
(Optional) An enum of type DsSaveChanges that indicates whether to save changes to one or more documents before closing them. Following are the possible values, which have the Long type:
dsSaveChangesYes - Saves the changes (the default).
dsSaveChangesNo - Does not save the changes.
dsSaveChangesPrompt - Prompts the user to save changes. If the user chooses not to save the changes, CloseAll returns the enum dsSaveStatus with the value dsSaveCanceled; otherwise CloseAll returns dsSaveSucceeded.
Remarks
The CloseAll method returns the enum dsSaveStatus, which has one of the following values:
dsSaveCanceled - Indicates that the user chose not to save changes to the document.
dsSaveSucceeded - Indicates that the user saved changes to the document.
|
Copyright © 2014 CA.
All rights reserved.
|
|