NAnt SDK Documentation - v0.92

AttribTask.ReadOnlyAttrib Property

Set the read-only attribute. The default is false.

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

See Also

AttribTask Class | NAnt.Core.Tasks Namespace