NAnt SDK Documentation - v0.92

PropertyTask.PropertyName Property

The name of the NAnt property to set.

[Visual Basic]
<TaskAttribute(Required:=True, Name:="name", ExpandProperties:=True, ProcessXml:=True), _  StringValidator(AllowEmpty:=False, Expression:="null", ExpressionErrorMessage:="null")>
Public Property PropertyName As String
[C#]
[TaskAttribute(Required=True, Name="name", ExpandProperties=True, ProcessXml=True)]
[StringValidator(AllowEmpty=False, Expression="null", ExpressionErrorMessage="null")]
public string PropertyName {get; set;}

See Also

PropertyTask Class | NAnt.Core.Tasks Namespace