Summary
Specifies whether the value of a property should be overwritten if
the property already exists (unless the property is read-only).
The default is
true
.
- Assembly
- NAnt
.Core .dll - Namespace
- NAnt
.Core .Tasks - Containing Type
- PropertyTask
Syntax
[TaskAttribute("overwrite", Required = false)]
[BooleanValidator()]
public bool Overwrite { get; set; }
Attributes
Type | Description |
---|---|
Task |
Indicates that property should be treated as a XML attribute for the task. |
Boolean |
Used to indicate that a property should be able to be converted into a
bool .
|
Value
Type | Description |
---|---|
bool |