TargetName Property

NAnt SDK Documentation - v0.92 |

# CallTask.TargetName Property

NAnt target to call.

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

#### See Also

CallTask Class | NAnt.Core.Tasks Namespace