Поделиться через


IVsFileBackup Interface

Implemented by components interested in being backed up.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

Syntax

'Declaration
<GuidAttribute("7B32BDF9-89D3-4574-B6AC-F2EEE9DEAB18")> _
<InterfaceTypeAttribute()> _
Public Interface IVsFileBackup
[GuidAttribute("7B32BDF9-89D3-4574-B6AC-F2EEE9DEAB18")]
[InterfaceTypeAttribute()]
public interface IVsFileBackup
[GuidAttribute(L"7B32BDF9-89D3-4574-B6AC-F2EEE9DEAB18")]
[InterfaceTypeAttribute()]
public interface class IVsFileBackup
[<GuidAttribute("7B32BDF9-89D3-4574-B6AC-F2EEE9DEAB18")>]
[<InterfaceTypeAttribute()>]
type IVsFileBackup =  interface end
public interface IVsFileBackup

The IVsFileBackup type exposes the following members.

Methods

  Name Description
Public method BackupFile Persists the object to a single file
Public method IsBackupFileObsolete Sets a backup dirty bit.

Top

Remarks

IVsFileBackup should be supported by components interested in being backed up. Visual Studio File Recovery backs up all objects in the Running Document Table that support IVsFileBackup and have unsaved changes.

See Also

Reference

Microsoft.VisualStudio.TextManager.Interop Namespace