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

Collapse imageSyntax

C#
public enum OverwriteCondition
Visual Basic
Public Enumeration OverwriteCondition
Visual C++
public enum class OverwriteCondition

Collapse imageMembers

Member nameValueDescription
Never0 The remote file will never be overwritten.
Always1 The remote file will always be overwritten.
DifferentSize2 The remote file will be overwritten if it has different size than the local file.
MoreRecentLocalFile3 The remote file will be overwritten if it is older than the local file.
DifferentSizeOrMoreRecentLocalFile4 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.

Collapse imageSee Also