IfDefined Property

NAnt SDK Documentation - v0.92 |

# Category.IfDefined Property

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

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

#### See Also

Category Class | NAnt.NUnit2.Types Namespace