IVsUIShell2::IsAutoRecoverSavingCheckpoints Method (Int32)
Visual Studio 2015
Indicates whether unsaved documents are currently being auto-saved.
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Parameters
- pfARSaving
-
Type:
System::Int32
[out] Returns nonzero (TRUE) if Visual Studio is in the process of auto-saving all open documents that need to be saved; otherwise, returns zero (FALSE).
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell80.idl:
HRESULT IVsUIShell2::IsAutoRecoverSavingCheckpoints( [out] BOOL *pfARSaving );
When AutoRecover is enabled, all unsaved documents are automatically saved after a period of time (specified by the user in the Options dialog box available from the Tools menu). For the duration of saving all unsaved documents, a flag is set. The IsAutoRecoverSavingCheckpoints method returns the value of this flag.
Show: