Overwrite Property

NAnt SDK Documentation - v0.92 |

# CopyTask.Overwrite Property

Overwrite existing files even if the destination files are newer. The default is false.

[Visual Basic]
<BooleanValidator, _ TaskAttribute(Required:=False, Name:="overwrite", ExpandProperties:=True, ProcessXml:=True)>
Public Property Overwrite As Boolean
[C#]
[BooleanValidator]
[TaskAttribute(Required=False, Name="overwrite", ExpandProperties=True, ProcessXml=True)]
public bool Overwrite {get; set;}

#### See Also

CopyTask Class | NAnt.Core.Tasks Namespace