NAnt SDK Documentation - v0.92

TagTask.Tag Property

The name of the tag to assign or remove.

[Visual Basic]
<StringValidator(AllowEmpty:=False, Expression:="^[A-Za-z0-9][A-Za-z0-9._\-]*$", ExpressionErrorMessage:="null"), _  TaskAttribute(Name:="tag", Required:=True, ExpandProperties:=True, ProcessXml:=True)>
Public Property Tag As String
[C#]
[StringValidator(AllowEmpty=False, Expression="^[A-Za-z0-9][A-Za-z0-9._\-]*$", ExpressionErrorMessage="null")]
[TaskAttribute(Name="tag", Required=True, ExpandProperties=True, ProcessXml=True)]
public string Tag {get; set;}

Property Value

The name of the tag to assign or remove.

See Also

TagTask Class | NAnt.SourceControl.Tasks Namespace