Compartir a través de


IVsFileBackup2.HasChangedSinceLastBackup Method

Definition

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.

Applies to