IfTask.

PropertyNameTrue Property

Summary

Used to test whether a property is true.
Assembly
NAnt.Core.dll
Namespace
NAnt.Core.Tasks
Containing Type
IfTask

Syntax

[TaskAttribute("propertytrue")]
[System.Obsolete("Use <if test=\"${propertyname}\"> instead.", false)]
public string PropertyNameTrue { get; set; }

Attributes

Type Description
TaskAttributeAttribute Indicates that property should be treated as a XML attribute for the task.
ObsoleteAttribute

Value

Type Description
string