IVsUIShell2.IsAutoRecoverSavingCheckpoints(Int32) Method

Definition

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.

Applies to