NAnt SDK Documentation - v0.92

Token.IfDefined Property

Indicates if the token should be used to replace values. If true then the token will be used; otherwise, not. The default is true.

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

See Also

Token Class | NAnt.Core.Types Namespace