NAnt SDK Documentation - v0.92

PathElement.IfDefined Property

If true then the entry will be added to the path; otherwise, skipped. The default is true.

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

See Also

PathElement Class | NAnt.Core.Types Namespace