NAnt SDK Documentation - v0.92

FileSet.ExcludesFile.IfDefined Property

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

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

See Also

FileSet.ExcludesFile Class | NAnt.Core.Types Namespace