IVsUIShell2.IsAutoRecoverSavingCheckpoints(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Indicates whether unsaved documents are currently being auto-saved.
public:
int IsAutoRecoverSavingCheckpoints([Runtime::InteropServices::Out] int % pfARSaving);
int IsAutoRecoverSavingCheckpoints([Runtime::InteropServices::Out] int & pfARSaving);
public int IsAutoRecoverSavingCheckpoints (out int pfARSaving);
abstract member IsAutoRecoverSavingCheckpoints : int -> int
Public Function IsAutoRecoverSavingCheckpoints (ByRef pfARSaving As Integer) As Integer
Parameters
- pfARSaving
- 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
).
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
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.