Share via


IVsDeferredSaveProject Interface

Definition

Delays permanently saving a project until the user saves it with SaveAll. Creates the effect of keeping the project in memory. The package uses a generated name for the project, and temporary files at a temporary location. Limits the solution to one project.

public interface class IVsDeferredSaveProject
public interface class IVsDeferredSaveProject
__interface IVsDeferredSaveProject
[System.Runtime.InteropServices.Guid("83B2961F-AC2B-409B-89BD-DCF698E3C402")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsDeferredSaveProject
[<System.Runtime.InteropServices.Guid("83B2961F-AC2B-409B-89BD-DCF698E3C402")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsDeferredSaveProject = interface
Public Interface IVsDeferredSaveProject
Attributes

Remarks

To use IVsDeferredSaveProject, you must create directory descritption file (.vsdir). The flags in the file must include VSDIRFLAG_DeferredSaveProject. For more information, see Template Directory Description (.Vsdir) Files.

When the user saves the project permanently, the user uses File.SaveAll, which presents a file browser to choose the new file name and location for the project file. Once the file name is chosen, the environment calls SaveProjectToLocation. The project must save itself to the specified file name and save all its other contents to the folder containing the specified file name.

Methods

SaveProjectToLocation(String)

Tells the project to save itself and all its contents to the specified location on disk.

Applies to