Share via


Window.Close method

Include protected members
Include inherited members

Closes the window that is represented by the Window object.

Overload list

  Name Description
Public method Close() Closes the window that is represented by the Window object prompting to save changes to any unsaved form, or form with changes that have not been saved.
Public method Close(Boolean) Closes the window that is represented by the Window object and optionally forces an unsaved form or form with unsaved changes to be closed without saving.

Top

See also

Reference

Window class

Window members

Microsoft.Office.InfoPath namespace