IfDefined Property

NAnt SDK Documentation - v0.92 |

# XsltParameter.IfDefined Property

Indicates if the parameter should be added to the XSLT argument list. If true then the parameter will be added; otherwise, skipped. The default is true.

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

#### See Also

XsltParameter Class | NAnt.Core.Types Namespace