NAnt SDK Documentation - v0.92

Target.IfDefined Property

Gets a value indicating whether the target should be executed.

[Visual Basic]
Public ReadOnly Property IfDefined As Boolean
[C#]
public bool IfDefined {get;}

Property Value

true if the target should be executed; otherwise, false.

See Also

Target Class | NAnt.Core Namespace