IVsFileBackup2.HasChangedSinceLastBackup Method
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.
Determines whether the file has changed since the last backup.
public:
bool HasChangedSinceLastBackup();
public:
bool HasChangedSinceLastBackup();
bool HasChangedSinceLastBackup();
public bool HasChangedSinceLastBackup ();
abstract member HasChangedSinceLastBackup : unit -> bool
Public Function HasChangedSinceLastBackup () As Boolean
Returns
True if it has changed, otherwise false.
Remarks
IVsFileBackup2 needs to keep track of whether a backup is required for any particular version of its doc data, to avoid extra backups for cases where the doc data is dirty, but the backup matches the current version of the object. HasChangedSinceLastBackup() returns true if the current version is dirty and it has not been backed up.