IfDefined Property

NAnt SDK Documentation - v0.92 |

# FileSet.IncludesFile.IfDefined Property

If true then the patterns will be included; otherwise, skipped. The default is true.

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

#### See Also

FileSet.IncludesFile Class | NAnt.Core.Types Namespace