IVsFileBackup2 Interface
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.
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.
public interface class IVsFileBackup2
public interface class IVsFileBackup2
__interface IVsFileBackup2
[System.Runtime.InteropServices.Guid("4FFA05A4-6C77-4952-AB60-B33E0A6416C5")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsFileBackup2
[<System.Runtime.InteropServices.Guid("4FFA05A4-6C77-4952-AB60-B33E0A6416C5")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsFileBackup2 = interface
Public Interface IVsFileBackup2
- Attributes
Methods
BackupFileAsync(String) |
Backs up the file asynchronously. |
HasChangedSinceLastBackup() |
Determines whether the file has changed since the last backup. |