Window::Close Method (vsSaveChanges)

 

Closes the open document and optionally saves it, or closes and destroys the window.

Namespace:   EnvDTE
Assembly:  EnvDTE (in EnvDTE.dll)

void Close(
	vsSaveChanges SaveChanges = vsSaveChanges::vsSaveChangesNo
)

Parameters

SaveChanges
Type: EnvDTE::vsSaveChanges

Optional. A vsSaveChanges constant that determines whether to save an item or items.

No code example is currently available or this language may not be supported.
Return to top
Show: