NAnt SDK Documentation - v0.92

Symbol.IfDefined Property

If true then the element will be processed; otherwise, skipped. The default is true.

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

See Also

Symbol Class | NAnt.VisualCpp.Types Namespace