Defines the conditions that determine if a remote file will be overwritten by a local file during copy.
Namespace: W3CValidationTasks.Core
Assembly: W3CValidationTasks.Core (in W3CValidationTasks.Core.dll) Version: 1.1.1.40
Syntax
C# |
---|
public enum OverwriteCondition |
Visual Basic |
---|
Public Enumeration OverwriteCondition |
Visual C++ |
---|
public enum class OverwriteCondition |
Members
Member name | Value | Description | |
---|---|---|---|
Never | 0 | The remote file will never be overwritten. | |
Always | 1 | The remote file will always be overwritten. | |
DifferentSize | 2 | The remote file will be overwritten if it has different size than the local file. | |
MoreRecentLocalFile | 3 | The remote file will be overwritten if it is older than the local file. | |
DifferentSizeOrMoreRecentLocalFile | 4 | The remote file will be overwritten if it has a different size than the local file, or if it is older than the local file. |