Tag Property

NAnt SDK Documentation - v0.92 |

# RTagTask.Tag Property

The name of the tag to assign or remove.

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

#### Property Value

The name of the tag to assign or remove.

#### See Also

RTagTask Class | NAnt.SourceControl.Tasks Namespace