IVsUIShell2.IsAutoRecoverSavingCheckpoints Method

Indicates whether unsaved documents are currently being auto-saved.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

Syntax

‘선언
Function IsAutoRecoverSavingCheckpoints ( _
    <OutAttribute> ByRef pfARSaving As Integer _
) As Integer
‘사용 방법
Dim instance As IVsUIShell2
Dim pfARSaving As Integer
Dim returnValue As Integer

returnValue = instance.IsAutoRecoverSavingCheckpoints(pfARSaving)
int IsAutoRecoverSavingCheckpoints(
    out int pfARSaving
)
int IsAutoRecoverSavingCheckpoints(
    [OutAttribute] int% pfARSaving
)
abstract IsAutoRecoverSavingCheckpoints : 
        pfARSaving:int byref -> int 
function IsAutoRecoverSavingCheckpoints(
    pfARSaving : int
) : int

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.Int32
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.

.NET Framework Security

See Also

Reference

IVsUIShell2 Interface

IVsUIShell2 Members

Microsoft.VisualStudio.Shell.Interop Namespace