Summary
Specifies whether the property is read-only or not.
The default is
false.
- Assembly
- NAnt
.Core .dll - Namespace
- NAnt
.Core .Tasks - Containing Type
- PropertyTask
Syntax
[TaskAttribute("readonly", Required = false)]
[BooleanValidator()]
public bool ReadOnly { 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 |
