IVsFileBackup2 Interface
This interface should be supported by doc data that should be backed up. Visual Studio File Recovery backs up all objects in the Running Document Table that support IVsFileBackup2 and have unsaved changes. Implement this interface rather than IVsFileBackup if your component supports asynchronous backups that do not run on the UI thread.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.12.0 (in Microsoft.VisualStudio.Shell.Interop.12.0.dll)
Syntax
'Declaration
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)> _
<GuidAttribute("4FFA05A4-6C77-4952-AB60-B33E0A6416C5")> _
Public Interface IVsFileBackup2
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
[GuidAttribute("4FFA05A4-6C77-4952-AB60-B33E0A6416C5")]
public interface IVsFileBackup2
[InterfaceTypeAttribute(ComInterfaceType::InterfaceIsIUnknown)]
[GuidAttribute(L"4FFA05A4-6C77-4952-AB60-B33E0A6416C5")]
public interface class IVsFileBackup2
[<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)>]
[<GuidAttribute("4FFA05A4-6C77-4952-AB60-B33E0A6416C5")>]
type IVsFileBackup2 = interface end
public interface IVsFileBackup2
The IVsFileBackup2 type exposes the following members.
Methods
Name | Description | |
---|---|---|
BackupFileAsync | Backs up the file asynchronously. | |
HasChangedSinceLastBackup | Determines whether the file has changed since the last backup. |
Top