NAnt SDK Documentation - v0.92

Argument.UnlessDefined Property

Indicates if the argument should not be passed to the external program. If false then the argument will be passed; otherwise, skipped. The default is false.

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

See Also

Argument Class | NAnt.Core.Types Namespace