IfDefined Property

NAnt SDK Documentation - v0.92 |

# CompilerWarning.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

CompilerWarning Class | NAnt.DotNet.Types Namespace