Summary
Used to test whether a property exists.
- Assembly
- NAnt
.Core .dll - Namespace
- NAnt
.Core .Tasks - Containing Type
- IfTask
Syntax
[TaskAttribute("propertyexists")]
[System.Obsolete("Use <if test=\"${property::exists('propertyname')}\"> instead.", false)]
public string PropertyNameExists { get; set; }
Attributes
| Type | Description |
|---|---|
| Task |
Indicates that property should be treated as a XML attribute for the task. |
| ObsoleteAttribute |
Value
| Type | Description |
|---|---|
| string |
