PropertyTask.

Value Property

Summary

The value to assign to the NAnt property.
Assembly
NAnt.Core.dll
Namespace
NAnt.Core.Tasks
Containing Type
PropertyTask

Syntax

[TaskAttribute("value", Required = true, ExpandProperties = false)]
[StringValidator(AllowEmpty = true)]
public string Value { get; set; }

Attributes

Type Description
TaskAttributeAttribute Indicates that property should be treated as a XML attribute for the task.
StringValidatorAttribute Used to indicate whether a string property should allow an empty string value or not.

Value

Type Description
string