NAnt SDK Documentation - v0.85-nightly-2005-11-09

Task.IfDefined Property

[This is preliminary documentation and subject to change.]

If true then the task will be executed; otherwise, skipped. The default is true.

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

Remarks

Missing <remarks> documentation for P:NAnt.Core.Task.IfDefined

See Also

Task Class | NAnt.Core Namespace